#include <hostmemory.hpp>
Public Member Functions | |
HostMemoryReference< Type, Dim-1 > | getSlice (unsigned int slice) |
Returns a single slice from a higher dimensional dataset. | |
Protected Member Functions | |
HostMemory () | |
Default constructor. | |
HostMemory (const Size< Dim > &_size) | |
Constructor. | |
HostMemory (const Layout< Type, Dim > &layout) | |
Constructor. |
This is the base class for all kind of CPU memory.
Cuda::HostMemory< Type, Dim >::HostMemory | ( | const Size< Dim > & | _size | ) | [inline, protected] |
Constructor.
_size | requested size of memory block |
Cuda::HostMemory< Type, Dim >::HostMemory | ( | const Layout< Type, Dim > & | layout | ) | [inline, protected] |
Constructor.
layout | requested layout of memory block |
HostMemoryReference<Type, Dim-1> Cuda::HostMemory< Type, Dim >::getSlice | ( | unsigned int | slice | ) | [inline] |
Returns a single slice from a higher dimensional dataset.
Keeps region of interest and other information.
slice | slice to which reference will be created |