11 #include <type_traits>
19 template<
typename TQueue>
26 template<
typename TQueue,
typename TTask,
typename TSfinae =
void>
30 template<
typename TQueue,
typename TSfinae =
void>
34 template<
typename TAcc,
typename TProperty,
typename TSfinae =
void>
46 template<
typename TQueue,
typename TTask>
57 template<
typename TQueue>
69 template<
typename TEnv,
typename TProperty>
typename detail::ImplementationBaseType< TInterface, TDerived >::type ImplementationBase
Returns the type that implements the given interface in the inheritance hierarchy.
The alpaka accelerator library.
typename trait::QueueType< TEnv, TProperty >::type Queue
Queue based on the environment and a property.
constexpr bool isQueue
True if TQueue is a queue, i.e. if it implements the ConceptQueue concept.
ALPAKA_FN_HOST auto empty(TQueue const &queue) -> bool
Tests if the queue is empty (all ops in the given queue have been completed).
ALPAKA_FN_HOST auto enqueue(TQueue &queue, TTask &&task) -> void
Queues the given task in the given queue.
Checks whether the interface is implemented by the given class.
Queue for an accelerator.