Go to the documentation of this file.
14 #if AF_API_VERSION >= 37
37 #if AF_COMPILER_CXX_RVALUE_REFERENCES
42 event& operator=(
event&& other);
64 event& operator=(
const event& other);
128 #endif // __cplusplus
130 #endif // AF_API_VERSION >= 37
AFAPI af_err af_delete_event(af_event eventHandle)
Release the af_event handle.
void * af_event
Handle to an event object.
AFAPI af_err af_enqueue_wait_event(const af_event eventHandle)
enqueues the af_event and all enqueued events on the active stream.
AFAPI af_err af_create_event(af_event *eventHandle)
Create a new af_event handle.
AFAPI af_err af_block_event(const af_event eventHandle)
blocks the calling thread on events until all events on the computation stream before mark was called...
AFAPI af_err af_mark_event(const af_event eventHandle)
marks the af_event on the active computation stream.
C++ RAII interface for manipulating events.