alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::concepts::Dim Concept Reference

Concept to check if the given type is of the given dimensionality. More...

#include <concepts.hpp>

Concept definition

template<typename T, unsigned int T_dim>
concept Dim = (T::dim() == T_dim)
Concept to check if the given type is of the given dimensionality.
Definition concepts.hpp:42

Detailed Description

Concept to check if the given type is of the given dimensionality.

The checked type must also fulfill HasStaticDim.

Template Parameters
TThe type to check
T_dimThe dimension the checked type should have

Definition at line 42 of file concepts.hpp.