25 concept HasGet =
requires(T t) { t.get(); };
40 template<
typename T,
unsigned int T_dim>
41 concept Dim = (T::dim() == T_dim);
65 template<alpaka::concepts::Api T_Api>
Concept to check for APIs.
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 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.
alpaka internal implementations.
constexpr auto getApi(auto &&any)
constexpr auto getDeviceKind(auto &&any)
constexpr auto operator()(auto &&api) const