#include <specdim_devicememorylinear2d.hpp>


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