namespace dnnl::graphΒΆ

oneDNN Graph namespace

namespace graph {

// namespaces

namespace dnnl::graph::ocl_interop;
namespace dnnl::graph::sycl_interop;

// enums

enum status;

// classes

class allocator;
class compiled_partition;
class graph;
class logical_tensor;
class op;
class partition;
class tensor;

// global functions

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

int get_compiled_partition_cache_capacity();
void set_compiled_partition_cache_capacity(int capacity);
void set_constant_tensor_cache(int flag);
int get_constant_tensor_cache();
void set_constant_tensor_cache_capacity(engine::kind kind, size_t size);
size_t get_constant_tensor_cache_capacity(engine::kind kind);

} // namespace graph