#include <specdim_hostmemorylocked3d.hpp>
Public Member Functions | |
HostMemoryLocked3D () | |
Default constructor. | |
HostMemoryLocked3D (const Size< 3 > &_size) | |
Constructor. | |
HostMemoryLocked3D (const Layout< Type, 3 > &layout) | |
Constructor. | |
HostMemoryLocked3D (size_t size0, size_t size1, size_t size2) | |
Constructor. | |
HostMemoryLocked3D (const HostMemoryLocked3D< Type > &x) | |
Copy constructor. | |
template<class Name> | |
HostMemoryLocked3D (const Name &x) | |
Constructor. | |
template<class Name> | |
HostMemoryLocked3D (const Name &x, const Size< 3 > &ofs, const Size< 3 > &size) | |
Constructor. | |
template<class Name> | |
HostMemoryLocked3D (const Name &x, size_t ofs0, size_t ofs1, size_t ofs2, size_t size0, size_t size1, size_t size2) | |
Constructor. | |
void | alloc () |
Allocate memory. | |
void | alloc (const Size< 3 > &_size) |
Allocate memory. | |
void | alloc (size_t size0, size_t size1, size_t size2) |
Allocate memory. |
Cuda::HostMemoryLocked3D< Type >::HostMemoryLocked3D | ( | const Size< 3 > & | _size | ) | [inline] |
Constructor.
_size | requested size of memory block. |
Cuda::HostMemoryLocked3D< Type >::HostMemoryLocked3D | ( | const Layout< Type, 3 > & | layout | ) | [inline] |
Constructor.
layout | requested layout of memory block. |
Cuda::HostMemoryLocked3D< Type >::HostMemoryLocked3D | ( | const HostMemoryLocked3D< Type > & | x | ) | [inline] |
Cuda::HostMemoryLocked3D< Type >::HostMemoryLocked3D | ( | const Name & | x | ) | [inline] |
Constructor.
Initialization from different type.
x | instance of different type to be copied |
Cuda::HostMemoryLocked3D< Type >::HostMemoryLocked3D | ( | const Name & | x, | |
const Size< 3 > & | ofs, | |||
const Size< 3 > & | size | |||
) | [inline] |
Constructor.
Initialization of region from same or different type.
x | instance to be copied | |
ofs | offset of region | |
size | size of region |
Cuda::HostMemoryLocked3D< Type >::HostMemoryLocked3D | ( | const Name & | x, | |
size_t | ofs0, | |||
size_t | ofs1, | |||
size_t | ofs2, | |||
size_t | size0, | |||
size_t | size1, | |||
size_t | size2 | |||
) | [inline] |
Constructor.
Initialization of region from same or different type.
x | instance to be copied | |
ofs0,ofs1,ofs2 | offset of region | |
size0,size1,size2 | size of region |
void Cuda::HostMemoryLocked3D< Type >::alloc | ( | const Size< 3 > & | _size | ) | [inline] |
Allocate memory.
_size | size to be allocated |
void Cuda::HostMemoryLocked3D< Type >::alloc | ( | size_t | size0, | |
size_t | size1, | |||
size_t | size2 | |||
) | [inline] |
Allocate memory.
size0, size1, size2 size to be allocated