#include <devicememory.hpp>


| Public Member Functions | |
| DeviceMemoryStorage () | |
| Default constructor. | |
| DeviceMemoryStorage (const Size< Dim > &_size) | |
| Constructor. | |
| DeviceMemoryStorage (const Layout< Type, Dim > &layout) | |
| Constructor. | |
| void | free () | 
| Free memory. | |
| void | init () | 
| Initialize data structure. | |
This is the base class for all kind of GPU memory for which a pointer can be obtained for read and write access and for which memory management is performed by the CUDA templates and (i.e., no CUDA arrays).
| Cuda::DeviceMemoryStorage< Type, Dim >::DeviceMemoryStorage | ( | const Size< Dim > & | _size | ) |  [inline] | 
Constructor.
| _size | requested size of memory block | 
| Cuda::DeviceMemoryStorage< Type, Dim >::DeviceMemoryStorage | ( | const Layout< Type, Dim > & | layout | ) |  [inline] | 
Constructor.
| layout | requested layout of memory block | 
 1.5.6
 1.5.6