af_create_event, af_mark_event, etc. More...
Data Structures | |
class | event |
C++ RAII interface for manipulating events. More... | |
Typedefs | |
typedef void * | af_event |
Handle to an event object. More... | |
Functions | |
AFAPI af_err | af_create_event (af_event *eventHandle) |
Create a new af_event handle. More... | |
AFAPI af_err | af_delete_event (af_event eventHandle) |
Release the af_event handle. More... | |
AFAPI af_err | af_mark_event (const af_event eventHandle) |
marks the af_event on the active computation stream. More... | |
AFAPI af_err | af_enqueue_wait_event (const af_event eventHandle) |
enqueues the af_event and all enqueued events on the active stream. More... | |
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 are complete More... | |
af_create_event, af_mark_event, etc.
blocks the calling thread on events until all events on the computation stream before mark was called are complete
[in] | eventHandle | the input event handle |
Create a new af_event handle.
[in] | eventHandle | the input event handle |
Release the af_event handle.
[in] | eventHandle | the input event handle |
enqueues the af_event and all enqueued events on the active stream.
All operations enqueued after a call to enqueue will not be executed until operations on the stream when mark was called are complete
[in] | eventHandle | the input event handle |