Engine

Overview

// global functions

engine dnnl::graph::make_engine_with_allocator(
    engine::kind kind,
    size_t index,
    const allocator& alloc
    );

dnnl_status_t DNNL_API dnnl_graph_make_engine_with_allocator(
    dnnl_engine_t* engine,
    dnnl_engine_kind_t kind,
    size_t index,
    const_dnnl_graph_allocator_t alloc
    );

Detailed Documentation

Global Functions

engine dnnl::graph::make_engine_with_allocator(
    engine::kind kind,
    size_t index,
    const allocator& alloc
    )

This API is a supplement for existing onednn engine API.

dnnl_status_t DNNL_API dnnl_graph_make_engine_with_allocator(
    dnnl_engine_t* engine,
    dnnl_engine_kind_t kind,
    size_t index,
    const_dnnl_graph_allocator_t alloc
    )

This API is a supplement for existing onednn engine API.