26 concept HasGet =
requires(T t) { t.get(); };
41 template<
typename T,
unsigned int T_dim>
42 concept Dim = (T::dim() == T_dim);
76 template<alpaka::concepts::Api T_Api>
77 struct GetApi::Op<T_Api>
79 inline constexpr auto operator()(
auto&&
api)
const
Concept to check for APIs.
Concept to check for a backend specification.
Concept to check if something is a device kind.
Concept to check that a device specification with an API and device kind can be extracted.
Concept to check if the given type is of the given dimensionality.
Concept to check for an executor.
Concept to check if the given type is a GPU DeviceKind.
Concept to check if the given type has a get() function.
Concept to check if the given type has a static dim() function.
Concept to check if the given type is a pointer, using std::is_pointer.