#include <specdim_devicememorypitched1d.hpp>


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