Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Public Member Functions | List of all members
io::LazyScratchBuf Class Reference

#include <LazyScratchBuf.h>

Public Member Functions

 LazyScratchBuf (const LazyScratchBuf &)=delete
 
LazyScratchBufoperator= (const LazyScratchBuf &)=delete
 
template<typename T >
io_detail::CheckedT< T > * get_buf_dev (std::size_t buf_size)
 
template<typename T >
io_detail::CheckedT< T > * get_buf_host (std::size_t buf_size)
 

Detailed Description

This is used for tracking lazily initialized scratch buffers (for io-purposes)

This is NOT threadsafe (but that's ok since many parts of Cholla aren't threadsafe)


The documentation for this class was generated from the following file: