clDNN
cldnn::event Struct Reference

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)
 
eventoperator= (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_intervalget_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)
 

Detailed Description

Represents an clDNN Event object.

Definition at line 35 of file event.hpp.


The documentation for this struct was generated from the following file: