Intel clGPU
commands_sequence Struct Reference

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< eventsubmit (const std::vector< std::shared_ptr< event >> &dependencies={}, const command_queue &queue=default_queue) override
 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.
 

Protected Attributes

std::vector< std::shared_ptr< command > > _commands
 

Detailed Description

Represents set of command to be executed sequentially.

Definition at line 219 of file engine.hpp.

Member Function Documentation

◆ submit()

std::shared_ptr<event> submit ( const std::vector< std::shared_ptr< event >> &  dependencies = {},
const command_queue queue = default_queue 
)
overridevirtual

Submit the command on Engine queue.

Parameters
dependenciesthe List of Events to be waited before command execution start
queuereference to the CommandQueue in which the command to be submitted
Returns
Event will be set on command completion

Implements command.


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