List of all members.
Public Member Functions |
| Array2D () |
| Array2D (size_t width, size_t height) |
| __attribute__ ((always_inline)) __forceinline__ __device__ __host__ T &operator()(size_t h |
Public Attributes |
size_t w | const |
template<typename T>
class PSkel::Array2D< T >
Constructor & Destructor Documentation
The Array2D default constructor creates an empty array withour allocating memory space.
The Array2D constructor creates and allocates the specified 2-dimensional array in the host memory.
- Parameters:
-
[in] | width | width for the 2D array being created. |
[in] | height | height for the 2D 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. |
- Returns:
- the reference of the element specified via parameters.
The documentation for this class was generated from the following files: