alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::generic::detail::QueueGenericThreadsNonBlockingImpl< TDev > Class Template Referencefinal

The CPU device queue implementation. More...

#include <QueueGenericThreadsNonBlocking.hpp>

+ Inheritance diagram for alpaka::generic::detail::QueueGenericThreadsNonBlockingImpl< TDev >:

Public Member Functions

 QueueGenericThreadsNonBlockingImpl (QueueGenericThreadsNonBlockingImpl< TDev > &&)=delete
 
 QueueGenericThreadsNonBlockingImpl (QueueGenericThreadsNonBlockingImpl< TDev > const &)=delete
 
 QueueGenericThreadsNonBlockingImpl (TDev dev)
 
 ~QueueGenericThreadsNonBlockingImpl () override
 
void enqueue (EventGenericThreads< TDev > &ev) final
 enqueue the event More...
 
auto operator= (QueueGenericThreadsNonBlockingImpl &&) -> QueueGenericThreadsNonBlockingImpl< TDev > &=delete
 
auto operator= (QueueGenericThreadsNonBlockingImpl< TDev > const &) -> QueueGenericThreadsNonBlockingImpl< TDev > &=delete
 
void wait (EventGenericThreads< TDev > const &ev) final
 waiting for the event More...
 
- Public Member Functions inherited from alpaka::IGenericThreadsQueue< TDev >
virtual ~IGenericThreadsQueue ()=default
 

Public Attributes

TDev const m_dev
 The device this queue is bound to. More...
 
core::CallbackThread m_workerThread
 

Detailed Description

template<typename TDev>
class alpaka::generic::detail::QueueGenericThreadsNonBlockingImpl< TDev >

The CPU device queue implementation.

Definition at line 39 of file QueueGenericThreadsNonBlocking.hpp.

Constructor & Destructor Documentation

◆ QueueGenericThreadsNonBlockingImpl() [1/3]

template<typename TDev >
alpaka::generic::detail::QueueGenericThreadsNonBlockingImpl< TDev >::QueueGenericThreadsNonBlockingImpl ( TDev  dev)
inlineexplicit

Definition at line 45 of file QueueGenericThreadsNonBlocking.hpp.

◆ QueueGenericThreadsNonBlockingImpl() [2/3]

◆ QueueGenericThreadsNonBlockingImpl() [3/3]

◆ ~QueueGenericThreadsNonBlockingImpl()

Definition at line 56 of file QueueGenericThreadsNonBlocking.hpp.

Member Function Documentation

◆ enqueue()

template<typename TDev >
void alpaka::generic::detail::QueueGenericThreadsNonBlockingImpl< TDev >::enqueue ( EventGenericThreads< TDev > &  )
inlinefinalvirtual

enqueue the event

Implements alpaka::IGenericThreadsQueue< TDev >.

Definition at line 60 of file QueueGenericThreadsNonBlocking.hpp.

◆ operator=() [1/2]

template<typename TDev >
auto alpaka::generic::detail::QueueGenericThreadsNonBlockingImpl< TDev >::operator= ( QueueGenericThreadsNonBlockingImpl< TDev > &&  ) -> QueueGenericThreadsNonBlockingImpl< TDev > &=delete
delete

◆ operator=() [2/2]

template<typename TDev >
auto alpaka::generic::detail::QueueGenericThreadsNonBlockingImpl< TDev >::operator= ( QueueGenericThreadsNonBlockingImpl< TDev > const &  ) -> QueueGenericThreadsNonBlockingImpl< TDev > &=delete
delete

◆ wait()

template<typename TDev >
void alpaka::generic::detail::QueueGenericThreadsNonBlockingImpl< TDev >::wait ( EventGenericThreads< TDev > const &  )
inlinefinalvirtual

waiting for the event

Implements alpaka::IGenericThreadsQueue< TDev >.

Definition at line 65 of file QueueGenericThreadsNonBlocking.hpp.

Member Data Documentation

◆ m_dev

template<typename TDev >
TDev const alpaka::generic::detail::QueueGenericThreadsNonBlockingImpl< TDev >::m_dev

The device this queue is bound to.

Definition at line 71 of file QueueGenericThreadsNonBlocking.hpp.

◆ m_workerThread

Definition at line 72 of file QueueGenericThreadsNonBlocking.hpp.


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