#include <scalar.h>
Public Member Functions | |
array (const std::vector< T > &vec) | |
__hostanddev__ | array (T t=0) |
__hostanddev__ T & | operator[] (int i) |
__hostanddev__ const T & | operator[] (int i) const |
Public Attributes | |
T | arr [N] |
Struct to wrap a fixed size array for passing to templated functions (Pretty much std::array, but that is not yet supported in CUDA)