[][src]Function onednn_sys::dnnl_engine_create

pub unsafe extern "C" fn dnnl_engine_create(
    engine: *mut dnnl_engine_t,
    kind: dnnl_engine_kind_t,
    index: usize
) -> dnnl_status_t

Creates an engine.

@param engine Output engine. @param kind Engine kind. @param index Engine index that should be between 0 and the count of engines of the requested kind. @returns #dnnl_success on success and a status describing the error otherwise.