![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Event that can be enqueued into a queue and can be triggered by the Host. More...
#include <EventHostManualTrigger.hpp>
Public Member Functions | |
| EventHostManualTriggerCpuImpl (EventHostManualTriggerCpuImpl const &other)=delete | |
| ALPAKA_FN_HOST | EventHostManualTriggerCpuImpl (TDev dev) noexcept |
| Constructor. | |
| auto | operator= (EventHostManualTriggerCpuImpl const &) -> EventHostManualTriggerCpuImpl &=delete |
| void | trigger () |
Public Attributes | |
| bool | m_bIsReady |
| If the event is not waiting within a queue (not enqueued or already completed). | |
| std::condition_variable | m_conditionVariable |
| The condition signaling the event completion. | |
| TDev const | m_dev |
| The device this event is bound to. | |
| std::size_t | m_enqueueCount |
| The number of times this event has been enqueued. | |
| std::mutex | m_mutex |
| The mutex used to synchronize access to the event. | |
Event that can be enqueued into a queue and can be triggered by the Host.
Definition at line 39 of file EventHostManualTrigger.hpp.
|
inlinenoexcept |
Constructor.
Definition at line 43 of file EventHostManualTrigger.hpp.
|
delete |
|
delete |
|
inline |
Definition at line 54 of file EventHostManualTrigger.hpp.
| bool alpaka::test::cpu::detail::EventHostManualTriggerCpuImpl< TDev >::m_bIsReady |
If the event is not waiting within a queue (not enqueued or already completed).
Definition at line 73 of file EventHostManualTrigger.hpp.
|
mutable |
The condition signaling the event completion.
Definition at line 70 of file EventHostManualTrigger.hpp.
| TDev const alpaka::test::cpu::detail::EventHostManualTriggerCpuImpl< TDev >::m_dev |
The device this event is bound to.
Definition at line 66 of file EventHostManualTrigger.hpp.
| std::size_t alpaka::test::cpu::detail::EventHostManualTriggerCpuImpl< TDev >::m_enqueueCount |
The number of times this event has been enqueued.
Definition at line 71 of file EventHostManualTrigger.hpp.
|
mutable |
The mutex used to synchronize access to the event.
Definition at line 68 of file EventHostManualTrigger.hpp.