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>
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.
alpaka internal implementations.
constexpr auto getExecutor(T_Any &&any) -> decltype(GetExecutor::Op< ALPAKA_TYPEOF(any)>{}(any))
constexpr auto getDeviceKind(auto &&any) -> decltype(GetDeviceType::Op< ALPAKA_TYPEOF(any)>{}(any))
constexpr auto getApi(auto &&any) -> decltype(GetApi::Op< ALPAKA_TYPEOF(any)>{}(any))
constexpr auto operator()(auto &&api) const