Intel clGPU
|
Represents set of command to be executed sequentially. More...
#include <engine.hpp>
Inherits command.
Public Member Functions | |
void | push_back (const std::shared_ptr< command > &command) |
Add new command to the end of sequence. | |
std::shared_ptr< event > | submit (const std::vector< std::shared_ptr< event >> &dependencies={}, const command_queue &queue=default_queue) override |
Submit the command on Engine queue. More... | |
![]() | |
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. | |
Protected Attributes | |
std::vector< std::shared_ptr< command > > | _commands |
Represents set of command to be executed sequentially.
Definition at line 219 of file engine.hpp.
|
overridevirtual |
Submit the command on Engine queue.
dependencies | the List of Events to be waited before command execution start |
queue | reference to the CommandQueue in which the command to be submitted |
Implements command.