oa::Event

Cheap non-owning completion value shared by compute, image, video, capture, rendering, and training. It is a GPU dependency first and a host wait handle second. queue submission consumes it through private Runtime lowering; public callers wait only at a deliberate CPU boundary.

Public Methods

bool oa::Event::hasQueueFamily()
oa::Bool oa::Event::isComplete()
bool oa::Event::isSameCompletion(const oa::Event & inOther)
bool oa::Event::isValid()
oa::U32 oa::Event::queueFamily()
oa::U64 oa::Event::value()
oa::Status oa::Event::wait(oa::U64 inTimeoutNs = UINT64_MAX)

Public Data Members

UnknownQueueFamilyconst oa::U32static

Constructor & Destructor Documentation

oa::Event::Event()
No public source comment is attached to this declaration.

Public Method Documentation

bool oa::Event::hasQueueFamily()
No public source comment is attached to this declaration.

Returns

bool

The declared return value.

oa::Bool oa::Event::isComplete()
No public source comment is attached to this declaration.

Returns

oa::Bool

The declared return value.

bool oa::Event::isSameCompletion( const oa::Event & inOther )
No public source comment is attached to this declaration.

Parameters

inOther
const oa::Event &

Returns

bool

The declared return value.

bool oa::Event::isValid()
No public source comment is attached to this declaration.

Returns

bool

The declared return value.

oa::U32 oa::Event::queueFamily()
queue-family provenance is synchronization metadata, not a vulkan handle. A different family still requires an explicit exclusive-resource release/acquire ownership transfer in addition to an event dependency.

Returns

oa::U32

The declared return value.

oa::U64 oa::Event::value()
No public source comment is attached to this declaration.

Returns

oa::U64

The declared return value.

oa::Status oa::Event::wait( oa::U64 inTimeoutNs = UINT64_MAX )
No public source comment is attached to this declaration.

Parameters

inTimeoutNs
oa::U64

Default: UINT64_MAX

Returns

oa::Status

The declared return value.