PSkel
 All Classes Files Functions
Public Member Functions
PSkel::Array< T > Class Template Reference
Inheritance diagram for PSkel::Array< T >:
PSkel::ArrayBase< T >

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

template<typename T >
PSkel::Array< T >::Array ( )

The Array default constructor creates an empty array withour allocating memory space.

template<typename T >
PSkel::Array< T >::Array ( size_t  size)

The Array constructor creates and allocates the specified 1-dimensional array in the host memory.

Parameters:
[in]sizesize for the 1D array being created.

Member Function Documentation

template<typename T>
PSkel::Array< T >::__attribute__ ( (always_inline)  ) const

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]woffset 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:
 All Classes Files Functions