|
class | event |
| C++ RAII interface for manipulating events. More...
|
|
|
typedef void * | af_event |
| Handle to an event object.
|
|
af_create_event, af_mark_event, etc.
◆ af_event
Handle to an event object.
Definition at line 21 of file event.h.
◆ af_block_event()
blocks the calling thread on events until all events on the computation stream before mark was called are complete
- Parameters
-
[in] | eventHandle | the input event handle |
◆ af_create_event()
Create a new af_event handle.
- Parameters
-
[in] | eventHandle | the input event handle |
◆ af_delete_event()
Release the af_event handle.
- Parameters
-
[in] | eventHandle | the input event handle |
◆ af_enqueue_wait_event()
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
- Parameters
-
[in] | eventHandle | the input event handle |
◆ af_mark_event()
marks the af_event on the active computation stream.
If the af_event is enqueued/waited on later, any operations that are currently enqueued on the event stream will be completed before any events that are enqueued after the call to enqueue
- Parameters
-
[in] | eventHandle | the input event handle |