#include <hostmemoryheap.hpp>


Public Member Functions | |
| HostMemoryHeap () | |
| Default constructor. | |
| HostMemoryHeap (const Size< Dim > &_size) | |
| Constructor. | |
| HostMemoryHeap (const Layout< Type, Dim > &layout) | |
| Constructor. | |
| template<class Type2> | |
| HostMemoryHeap (const HostMemoryHeap< Type2, Dim > &x) | |
| Constructor from different data type. | |
| ~HostMemoryHeap () | |
| Destructor. | |
| void | alloc () |
| Allocate CPU memory. | |
| void | alloc (const Size< Dim > &_size) |
| Allocate CPU memory. | |
| void | free () |
| Free CPU memory. | |
| Cuda::HostMemoryHeap< Type, Dim >::HostMemoryHeap | ( | const Size< Dim > & | _size | ) | [inline] |
Constructor.
| _size | requested size of memory block |
| Cuda::HostMemoryHeap< Type, Dim >::HostMemoryHeap | ( | const Layout< Type, Dim > & | layout | ) | [inline] |
Constructor.
| layout | requested layout of memory block |
| Cuda::HostMemoryHeap< Type, Dim >::HostMemoryHeap | ( | const HostMemoryHeap< Type2, Dim > & | x | ) | [inline] |
Constructor from different data type.
| x | host memory data of different data type |
| void Cuda::HostMemoryHeap< Type, Dim >::alloc | ( | const Size< Dim > & | _size | ) | [inline] |
Allocate CPU memory.
| _size | requested size |
Reimplemented from Cuda::Storage< Type, Dim >.
1.5.6