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

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

#include <EventGenericThreads.hpp>

Static Public Member Functions

static ALPAKA_FN_HOST auto currentThreadWaitFor (alpaka::generic::detail::EventGenericThreadsImpl< TDev > const &eventImpl) -> void
 

Detailed Description

template<typename TDev>
struct alpaka::trait::CurrentThreadWaitFor< alpaka::generic::detail::EventGenericThreadsImpl< TDev > >

The CPU device event implementation 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.

NOTE: This method is for internal usage only.

Definition at line 278 of file EventGenericThreads.hpp.

Member Function Documentation

◆ currentThreadWaitFor()

template<typename TDev >
static ALPAKA_FN_HOST auto alpaka::trait::CurrentThreadWaitFor< alpaka::generic::detail::EventGenericThreadsImpl< TDev > >::currentThreadWaitFor ( alpaka::generic::detail::EventGenericThreadsImpl< TDev > const &  eventImpl) -> void
inlinestatic

Definition at line 280 of file EventGenericThreads.hpp.


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