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

Concept to check that a device specification with an API and device kind can be extracted. More...

#include <concepts.hpp>

Concept definition

template<typename T>
concept DeviceSpec = requires(T t) {
}
Concept to check for APIs.
Definition api.hpp:42
Concept to check if something is a device kind.
Definition tag.hpp:145
Concept to check that a device specification with an API and device kind can be extracted.
Definition concepts.hpp:58
constexpr auto getDeviceKind(auto &&any) -> decltype(GetDeviceType::Op< ALPAKA_TYPEOF(any)>{}(any))
constexpr auto getApi(auto &&any) -> decltype(GetApi::Op< ALPAKA_TYPEOF(any)>{}(any))
Definition interface.hpp:62

Detailed Description

Concept to check that a device specification with an API and device kind can be extracted.

Definition at line 58 of file concepts.hpp.