clDNN
cldnn::engine Struct Reference

Represents clDNN engine object. More...

#include <engine.hpp>

Public Member Functions

 engine (const engine_configuration &configuration=engine_configuration())
 Constructs OpenCL engine.
 
 engine (engine_types type, uint32_t engine_num, const engine_configuration &configuration=engine_configuration())
 Construct engine of the specified type, engine_num, and configuration options. More...
 
 engine (const engine &other)
 
engineoperator= (const engine &other)
 
engine_info get_info () const
 Returns information about properties and capabilities for the engine.
 
engine_types get_type () const
 Returns type of the engine.
 
::cldnn_engine get () const
 get C API engine handler.
 

Static Public Member Functions

static uint32_t engine_count (engine_types type)
 Returns number of available engines of the particular type.
 

Friends

bool operator== (const engine &lhs, const engine &rhs)
 
bool operator!= (const engine &lhs, const engine &rhs)
 

Detailed Description

Represents clDNN engine object.

Definition at line 110 of file engine.hpp.

Constructor & Destructor Documentation

◆ engine()

cldnn::engine::engine ( engine_types  type,
uint32_t  engine_num,
const engine_configuration configuration = engine_configuration() 
)
inline

Construct engine of the specified type, engine_num, and configuration options.

Parameters
[in]typeEngine type cldnn_engine_type. Only OCL engine is supported.
[in]engine_numEngine index. Should be 0.
[in]configurationPointer to engine configuration options.

Definition at line 121 of file engine.hpp.


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