CUDPP
2.1
CUDA Data-Parallel Primitives Library
|
Wrapper class for templatized dynamic shared memory arrays. More...
#include <sharedmem.h>
Public Member Functions | |
__device__ T * | getPointer () |
Return a pointer to the runtime-sized shared memory array. More... | |
Wrapper class for templatized dynamic shared memory arrays.
This struct uses template specialization on the type T to declare a differently named dynamic shared memory array for each type (
).
Currently there are specializations for the following types: int
, uint
, char
, uchar
, short
, ushort
, long
, unsigned
long, bool
, float
, and double
. One can also specialize it for user defined types.
|
inline |
Return a pointer to the runtime-sized shared memory array.