![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Check whether the specified type is a multidimensional index. More...
#include <IndexVec.hpp>
Check whether the specified type is a multidimensional index.
The type must fulfill alpaka::concepts::Vector, and its type must be convertible to an expected index type without loss of precision.
If you observe that nvcc segfaults during compile, and you used this concept in the function signature, replace it with a static assert inside the function body. see SimdPtr::operator[]().
| T_IndexType | expected index type |
| T_dim | expected dimension |
Definition at line 22 of file IndexVec.hpp.