alpaka
Abstraction Library for Parallel Kernel Acceleration
|
The CPU device queue implementation. More...
#include <QueueGenericThreadsBlocking.hpp>
Public Member Functions | |
QueueGenericThreadsBlockingImpl (QueueGenericThreadsBlockingImpl< TDev > const &)=delete | |
QueueGenericThreadsBlockingImpl (TDev dev) noexcept | |
void | enqueue (EventGenericThreads< TDev > &ev) final |
enqueue the event More... | |
auto | operator= (QueueGenericThreadsBlockingImpl< TDev > const &) -> QueueGenericThreadsBlockingImpl< 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 | |
std::atomic< bool > | m_bCurrentlyExecutingTask |
TDev const | m_dev |
The device this queue is bound to. More... | |
std::mutex | m_mutex |
The CPU device queue implementation.
Definition at line 34 of file QueueGenericThreadsBlocking.hpp.
|
inlineexplicitnoexcept |
Definition at line 40 of file QueueGenericThreadsBlocking.hpp.
|
delete |
|
inlinefinalvirtual |
enqueue the event
Implements alpaka::IGenericThreadsQueue< TDev >.
Definition at line 50 of file QueueGenericThreadsBlocking.hpp.
|
delete |
|
inlinefinalvirtual |
waiting for the event
Implements alpaka::IGenericThreadsQueue< TDev >.
Definition at line 55 of file QueueGenericThreadsBlocking.hpp.
std::atomic<bool> alpaka::generic::detail::QueueGenericThreadsBlockingImpl< TDev >::m_bCurrentlyExecutingTask |
Definition at line 63 of file QueueGenericThreadsBlocking.hpp.
TDev const alpaka::generic::detail::QueueGenericThreadsBlockingImpl< TDev >::m_dev |
The device this queue is bound to.
Definition at line 61 of file QueueGenericThreadsBlocking.hpp.
|
mutable |
Definition at line 62 of file QueueGenericThreadsBlocking.hpp.