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) {
{ internal::getApi(t) } -> alpaka::concepts::Api;
{ internal::getDeviceKind(t) } -> alpaka::concepts::DeviceKind;
}
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

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.