|
Intel clGPU
|
Base class for a command. More...
#include <engine.hpp>
Inherits engine_object.
Inherited by commands_parallel, commands_sequence, kernel_command, and raise_event_command.
Public Member Functions | |
| virtual std::shared_ptr< event > | submit (const std::vector< std::shared_ptr< event >> &dependencies={}, const command_queue &queue=default_queue)=0 |
| Submit the command on Engine queue. 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. | |
Base class for a command.
Definition at line 100 of file engine.hpp.
|
pure virtual |
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 |
Implemented in commands_parallel, and commands_sequence.