clDNN
|
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) | |
engine & | operator= (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) |
Represents clDNN engine object.
Definition at line 110 of file engine.hpp.
|
inline |
Construct engine of the specified type
, engine_num
, and configuration
options.
[in] | type | Engine type cldnn_engine_type. Only OCL engine is supported. |
[in] | engine_num | Engine index. Should be 0. |
[in] | configuration | Pointer to engine configuration options. |
Definition at line 121 of file engine.hpp.