Provides a type mapping between CUDA vector types and sp::Vec
.
More...
#include <CudaVec.hpp>
Provides a type mapping between CUDA vector types and sp::Vec
.
Each CudaVec
provides a typedef type
which is the corresponding CUDA vector type, and thinType
which is the same as type
except when the vector size is 1, in which case it is T
.
For example, CudaVec<float, 4>
yields float4
. Access through CudaVec_t
or ThinCudaVec_t
is convenient.