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

Concept to check if the given type implements the getExecutor(T x) function returning an alpaka::concepts::Executor. More...

#include <interface.hpp>

Concept definition

template<typename T_Any>
concept HasExecutor = requires(T_Any&& any) {
}
Concept to check for an executor.
Definition trait.hpp:133
Concept to check if the given type implements the getExecutor(T x) function returning an alpaka::conc...
Definition interface.hpp:58
constexpr decltype(auto) getExecutor(auto &&any)
Get the executor associated with an object.
Definition interface.hpp:23

Detailed Description

Concept to check if the given type implements the getExecutor(T x) function returning an alpaka::concepts::Executor.

Definition at line 58 of file interface.hpp.