#include <hostmemory.hpp>


Public Member Functions | |
| HostMemoryStorage () | |
| Default constructor. | |
| HostMemoryStorage (const Size< Dim > &_size) | |
| Constructor. | |
| HostMemoryStorage (const Layout< Type, Dim > &layout) | |
| Constructor. | |
| template<class Type2> | |
| HostMemoryStorage (const HostMemory< Type2, Dim > &x) | |
| Constructor from different data type. | |
| void | init () |
| Initialize data structure. | |
This is the base class for all kind of CPU memory for which memory management is performed by the CUDA Toolkit.
| Cuda::HostMemoryStorage< Type, Dim >::HostMemoryStorage | ( | const Size< Dim > & | _size | ) | [inline] |
Constructor.
| _size | requested size of memory block |
| Cuda::HostMemoryStorage< Type, Dim >::HostMemoryStorage | ( | const Layout< Type, Dim > & | layout | ) | [inline] |
Constructor.
| layout | requested layout of memory block |
| Cuda::HostMemoryStorage< Type, Dim >::HostMemoryStorage | ( | const HostMemory< Type2, Dim > & | x | ) | [inline] |
Constructor from different data type.
Don't try to replicate layout, just use size.
| x | host memory data of different data type |
1.5.6