Intel clGPU
event Struct Referenceabstract

Represents an event object assotiated with a executed Command. More...

#include <engine.hpp>

Inherits engine_object.

Public Member Functions

virtual std::chrono::nanoseconds wait ()=0
 Wait for the event completion. More...
 
- Public Member Functions inherited from engine_object
 engine_object (const std::shared_ptr< engine > &engine)
 
template<class EngTy = engine>
auto get_engine () const -> typename std::enable_if< std::is_base_of< engine, EngTy >::value, std::shared_ptr< EngTy >>::type
 Returns associated Engine object.
 

Detailed Description

Represents an event object assotiated with a executed Command.

Definition at line 72 of file engine.hpp.

Member Function Documentation

◆ wait()

virtual std::chrono::nanoseconds wait ( )
pure virtual

Wait for the event completion.

Returns
duration of the process controlled by the Event (e.g. kernel execution time)

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