Engine#
Overview#
An abstraction of a computational device: a CPU, a specific GPU card in the system, etc. More…
// structs struct dnnl::engine; // global functions dnnl_engine_kind_t dnnl::convert_to_c(engine::kind akind);
Detailed Documentation#
An abstraction of a computational device: a CPU, a specific GPU card in the system, etc. Most primitives are created to execute computations on one specific engine. The only exceptions are reorder primitives that transfer data between two different engines.
See also:
Global Functions#
dnnl_engine_kind_t dnnl::convert_to_c(engine::kind akind)
Converts engine kind enum value from C++ API to C API type.
Parameters:
akind |
C++ API engine kind enum value. |
Returns:
Corresponding C API engine kind enum value.