Intel clGPU
commands_parallel Struct Reference

Represents set of command can be executed in parallel. More...

#include <engine.hpp>

Inherits command.

Public Member Functions

void add (const std::shared_ptr< command > &command)
 Add new command.
 
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.
 

Detailed Description

Represents set of command can be executed in parallel.

Definition at line 233 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: