Skip to main content

class async_event

Declaration

class async_event { /* full declaration omitted */ };

Description

Type-erased event signalling completion of events at the executor layer. These may wrap SYCL events, asynchronous MPI requests, or similar.

Declared at: include/async_event.h:49

Member Variables

std::unique_ptr<async_event_impl> m_impl

Member Function Overview

Member Functions

async_event()

Declared at: include/async_event.h:51


async_event(std::unique_ptr<async_event_impl>
                impl) noexcept

Declared at: include/async_event.h:52

Parameters

std::unique_ptr<async_event_impl> impl

std::optional<std::chrono::nanoseconds>
get_native_execution_time() const

Declared at: include/async_event.h:65


void* get_result() const

Declared at: include/async_event.h:60


bool is_complete() const

Description

Polls the underlying event operation to check if it has completed. This function is cheap to call repeatedly.

Declared at: include/async_event.h:55