Resource managing class template for type-specific memory allocated on a GPU device through . More...
#include <cmtkDeviceArray.h>
Public Types | |
| typedef DeviceArrayTemplate < DeviceArrayGPU > | Self |
| This class. | |
| typedef SmartConstPointer< Self > | SmartConstPtr |
| Smart pointer-to-const. | |
| typedef SmartPointer< Self > | SmartPtr |
| Smart pointer. | |
| typedef DeviceArrayGPU | Superclass |
| Base class. | |
Public Member Functions | |
| DeviceArrayTemplate (const FixedVector< 3, int > &dims3) | |
| Constructor: allocate memory on device through base class. | |
Static Public Member Functions | |
| static Self::SmartPtr | Create (const FixedVector< 3, int > &dims3) |
| Create new object and allocate memory. | |
| static Self::SmartPtr | Create (const FixedVector< 3, int > &dims3, const float *initFrom) |
| Create new object, allocate, and initialize memory. | |
Resource managing class template for type-specific memory allocated on a GPU device through .
Definition at line 51 of file cmtkDeviceArray.h.
| typedef DeviceArrayTemplate<DeviceArrayGPU> cmtk::DeviceArrayTemplate< DeviceArrayGPU >::Self |
This class.
Definition at line 57 of file cmtkDeviceArray.h.
| typedef SmartConstPointer<Self> cmtk::DeviceArrayTemplate< DeviceArrayGPU >::SmartConstPtr |
Smart pointer-to-const.
Definition at line 60 of file cmtkDeviceArray.h.
| typedef SmartPointer<Self> cmtk::DeviceArrayTemplate< DeviceArrayGPU >::SmartPtr |
Smart pointer.
Definition at line 63 of file cmtkDeviceArray.h.
| typedef DeviceArrayGPU cmtk::DeviceArrayTemplate< DeviceArrayGPU >::Superclass |
Base class.
Definition at line 66 of file cmtkDeviceArray.h.
| cmtk::DeviceArrayTemplate< DeviceArrayGPU >::DeviceArrayTemplate | ( | const FixedVector< 3, int > & | dims3 ) | [inline] |
Constructor: allocate memory on device through base class.
Definition at line 69 of file cmtkDeviceArray.h.
| static Self::SmartPtr cmtk::DeviceArrayTemplate< DeviceArrayGPU >::Create | ( | const FixedVector< 3, int > & | dims3 ) | [inline, static] |
Create new object and allocate memory.
| dims3 | Array dimensions |
Definition at line 74 of file cmtkDeviceArray.h.
| static Self::SmartPtr cmtk::DeviceArrayTemplate< DeviceArrayGPU >::Create | ( | const FixedVector< 3, int > & | dims3, |
| const float * | initFrom | ||
| ) | [inline, static] |
Create new object, allocate, and initialize memory.
| dims3 | Array dimensions |
| initFrom | Initialize from this region in host memory. |
Definition at line 80 of file cmtkDeviceArray.h.
1.7.2