![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
#include <Event.hpp>
Public Member Functions | |
| Event (Event &&)=delete | |
| Event (Event const &)=delete | |
| Event (internal::concepts::DeviceHandle auto device, uint32_t const idx) | |
| ~Event () | |
| bool | operator!= (Event const &other) const |
| Event & | operator= (Event &&)=delete |
| Event & | operator= (Event const &)=delete |
| bool | operator== (Event const &other) const |
Private Member Functions | |
| auto | getDevice () const |
| auto | getDeviceKind () const |
| std::string | getName () const |
| std::shared_ptr< Event > | getSharedPtr () |
| bool | isEventComplete () noexcept |
| Check if the event is complete. | |
| bool | isReady () noexcept |
| Check if the event is ready. | |
| void | wait () |
Private Attributes | |
| Handle< T_Device > | m_device |
| std::size_t | m_enqueueCount = 0u |
| The time this event has been ready the last time. Ready means that the event was not waiting within a queue (not enqueued or already completed). If m_enqueueCount == m_LastReadyEnqueueCount, the event is currently not enqueued. | |
| std::shared_future< void > | m_future |
| The number of times this event has been enqueued. | |
| uint32_t | m_idx = 0u |
| The mutex used to synchronize access to the event. | |
| std::size_t | m_LastReadyEnqueueCount = 0u |
| std::mutex | m_mutex |
| The future signaling the event completion. | |
Friends | |
| struct | alpaka::internal::GetApi |
| struct | alpaka::internal::GetDeviceType |
| struct | alpaka::internal::GetName |
| struct | internal::Enqueue |
| struct | internal::GetNativeHandle |
| struct | internal::IsEventComplete |
| struct | internal::Wait |
| struct | internal::WaitFor |
| struct | onHost::internal::GetDevice |
|
inline |
|
inline |
|
delete |
|
delete |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivatenoexcept |
|
inlineprivatenoexcept |
|
inline |
|
delete |
|
delete |
|
inline |
|
inlineprivate |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |