List of all members.
Public Member Functions |
| Array () |
| Array (size_t size) |
| __attribute__ ((always_inline)) __forceinline__ __device__ __host__ T &operator()(size_t w) const |
template<typename T>
class PSkel::Array< T >
Constructor & Destructor Documentation
The Array default constructor creates an empty array withour allocating memory space.
The Array constructor creates and allocates the specified 1-dimensional array in the host memory.
- Parameters:
-
[in] | size | size for the 1D 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] | w | 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: