template<typename T_Acc, typename T_Api = alpaka::NotRequired>
&& (std::same_as<T_Api, ALPAKA_TYPEOF(std::declval<T_Acc>().getApi())>
|| std::same_as<T_Api, alpaka::NotRequired>)
Validates if T is a specialization of the unspecialized template type U.
Concept to check if a type is an accelerator.
Concept to check if a type is an accelerator.
- Template Parameters
-
| T_Acc | Type to check |
| T_Api | Enforce an API type, if not provided api type is not checked |
Definition at line 119 of file Acc.hpp.