List of all members.
Public Member Functions |
| Array3D () |
| Array3D (size_t width, size_t height, size_t depth) |
| __attribute__ ((always_inline)) __forceinline__ __device__ __host__ T &operator()(size_t h |
Public Attributes |
size_t | w |
size_t size_t d | const |
template<typename T>
class PSkel::Array3D< T >
Constructor & Destructor Documentation
The Array3D default constructor creates an empty array withour allocating memory space.
The Array3D constructor creates and allocates the specified 3-dimensional array in the host memory.
- Parameters:
-
[in] | width | width for the 3D array being created. |
[in] | height | height for the 3D array being created. |
[in] | depth | depth for the 3D array being created. |
Member Function Documentation
Access a specific element of the array allocated in the memory space relative to the execution environment, i.e. either in the host or device memory.
- Parameters:
-
[in] | h | height offset for the element being accessed. |
[in] | w | width offset for the element being accessed. |
[in] | d | depth offset for the element being accessed. |
- Returns:
- the reference of the element specified via parameters.
The documentation for this class was generated from the following files: