clDNN
|
Represents an clDNN Event object. More...
#include <event.hpp>
Public Member Functions | |
event (cldnn_event impl) | |
Construct from C API handler cldnn_event. | |
event (const event &other) | |
event & | operator= (const event &other) |
void | wait () const |
Wait for event completion. | |
void | set () const |
Set event status to 'completed'. | |
void | set_event_handler (cldnn_event_handler handler, void *param) const |
Register call back to be called on event completion. | |
std::vector< instrumentation::profiling_interval > | get_profiling_info () const |
Get profiling info for the event associated with network output. | |
cldnn_event | get () const |
Returns C API event handler. | |
Static Public Member Functions | |
static event | create_user_event (const engine &engine) |
Create an event which can be set to 'completed' by user. | |
Friends | |
bool | operator== (const event &lhs, const event &rhs) |
bool | operator!= (const event &lhs, const event &rhs) |