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

Concept to check for a backend specification. More...

#include <concepts.hpp>

Concept definition

template<typename T>
concept BackendSpec = requires(T t) {
requires DeviceSpec<T>;
}
Concept to check for a backend specification.
Definition concepts.hpp:68
Concept to check that a device specification with an API and device kind can be extracted.
Definition concepts.hpp:58
Concept to check for an executor.
Definition trait.hpp:133
constexpr auto getExecutor(T_Any &&any) -> decltype(GetExecutor::Op< ALPAKA_TYPEOF(any)>{}(any))
Definition interface.hpp:86

Detailed Description

Concept to check for a backend specification.

The object must provide the possibility for querying the device specification properties and the executor.

Definition at line 68 of file concepts.hpp.