alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::trait::CurrentThreadWaitFor< EventGenericThreads< TDev > > Struct Template Reference

The CPU device event thread wait trait specialization. More...

#include <EventGenericThreads.hpp>

Static Public Member Functions

static ALPAKA_FN_HOST auto currentThreadWaitFor (EventGenericThreads< TDev > const &event) -> void
 

Detailed Description

template<typename TDev>
struct alpaka::trait::CurrentThreadWaitFor< EventGenericThreads< TDev > >

The CPU device event thread wait trait specialization.

Waits until the event itself and therefore all tasks preceding it in the queue it is enqueued to have been completed. If the event is not enqueued to a queue the method returns immediately.

Definition at line 263 of file EventGenericThreads.hpp.

Member Function Documentation

◆ currentThreadWaitFor()

template<typename TDev >
static ALPAKA_FN_HOST auto alpaka::trait::CurrentThreadWaitFor< EventGenericThreads< TDev > >::currentThreadWaitFor ( EventGenericThreads< TDev > const &  event) -> void
inlinestatic

Definition at line 265 of file EventGenericThreads.hpp.


The documentation for this struct was generated from the following file: