#include <specdim_hostmemorylocked2d.hpp>


Public Member Functions | |
| HostMemoryLocked2D () | |
| Default constructor. | |
| HostMemoryLocked2D (const Size< 2 > &_size) | |
| Constructor. | |
| HostMemoryLocked2D (const Layout< Type, 2 > &layout) | |
| Constructor. | |
| HostMemoryLocked2D (size_t size0, size_t size1) | |
| Constructor. | |
| HostMemoryLocked2D (const HostMemoryLocked2D< Type > &x) | |
| Copy constructor. | |
| template<class Name> | |
| HostMemoryLocked2D (const Name &x) | |
| Constructor. | |
| template<class Name> | |
| HostMemoryLocked2D (const Name &x, const Size< 2 > &ofs, const Size< 2 > &size) | |
| Constructor. | |
| template<class Name> | |
| HostMemoryLocked2D (const Name &x, size_t ofs0, size_t ofs1, size_t size0, size_t size1) | |
| Constructor. | |
| void | alloc () |
| Allocate memory. | |
| void | alloc (const Size< 2 > &_size) |
| Allocate memory. | |
| void | alloc (size_t size0, size_t size1) |
| Allocate memory. | |
| Cuda::HostMemoryLocked2D< Type >::HostMemoryLocked2D | ( | const Size< 2 > & | _size | ) | [inline] |
Constructor.
| _size | requested size of memory block. |
| Cuda::HostMemoryLocked2D< Type >::HostMemoryLocked2D | ( | const Layout< Type, 2 > & | layout | ) | [inline] |
Constructor.
| layout | requested layout of memory block. |
| Cuda::HostMemoryLocked2D< Type >::HostMemoryLocked2D | ( | const HostMemoryLocked2D< Type > & | x | ) | [inline] |
| Cuda::HostMemoryLocked2D< Type >::HostMemoryLocked2D | ( | const Name & | x | ) | [inline] |
Constructor.
Initialization from different type.
| x | instance of different type to be copied |
| Cuda::HostMemoryLocked2D< Type >::HostMemoryLocked2D | ( | const Name & | x, | |
| const Size< 2 > & | ofs, | |||
| const Size< 2 > & | 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::HostMemoryLocked2D< Type >::HostMemoryLocked2D | ( | const Name & | x, | |
| size_t | ofs0, | |||
| size_t | ofs1, | |||
| size_t | size0, | |||
| size_t | size1 | |||
| ) | [inline] |
Constructor.
Initialization of region from same or different type.
| x | instance to be copied | |
| ofs0,ofs1 | offset of region | |
| size0,size1 | size of region |
| void Cuda::HostMemoryLocked2D< Type >::alloc | ( | const Size< 2 > & | _size | ) | [inline] |
Allocate memory.
| _size | size to be allocated |
| void Cuda::HostMemoryLocked2D< Type >::alloc | ( | size_t | size0, | |
| size_t | size1 | |||
| ) | [inline] |
Allocate memory.
size0, size1 size to be allocated
1.5.6