Compute Library
 21.05
GraphConfig Struct Reference

Graph configuration structure Device target types. More...

#include <Types.h>

Collaboration diagram for GraphConfig:
[legend]

Data Fields

bool use_function_memory_manager { true }
 Use a memory manager to manage per-function auxilary memory. More...
 
bool use_function_weights_manager { true }
 Use a weights manager to manage transformed weights. More...
 
bool use_transition_memory_manager { true }
 Use a memory manager to manager transition buffer memory. More...
 
bool use_tuner { false }
 Use a tuner in tunable backends. More...
 
bool use_synthetic_type { false }
 Convert graph to a synthetic graph for a data type. More...
 
DataType synthetic_type { DataType::QASYMM8 }
 The data type of the synthetic graph. More...
 
CLTunerMode tuner_mode { CLTunerMode::EXHAUSTIVE }
 Tuner mode to be used by the CL tuner. More...
 
int num_threads { -1 }
 Number of threads to use (thread capable backends), if 0 the backend will auto-initialize, if -1 the backend will stay as it is. More...
 
std::string tuner_file { "acl_tuner.csv" }
 File to load/store tuning values from. More...
 
std::string mlgo_file { "heuristics.mlgo" }
 Filename to load MLGO heuristics from. More...
 
CLBackendType backend_type { CLBackendType::Native }
 CL backend type to use. More...
 

Detailed Description

Graph configuration structure Device target types.

Definition at line 83 of file Types.h.

Field Documentation

◆ backend_type

CL backend type to use.

Definition at line 95 of file Types.h.

Referenced by GraphManager::finalize_graph(), and CLDeviceBackend::setup_backend_context().

◆ mlgo_file

std::string mlgo_file { "heuristics.mlgo" }

Filename to load MLGO heuristics from.

Definition at line 94 of file Types.h.

Referenced by CLDeviceBackend::setup_backend_context().

◆ num_threads

int num_threads { -1 }

Number of threads to use (thread capable backends), if 0 the backend will auto-initialize, if -1 the backend will stay as it is.

Definition at line 92 of file Types.h.

Referenced by GraphValidateExample< DepthwiseConvolutionLayer, DepthConvolutionOptions, DepthConvolutionVerifyAccessor >::do_setup(), and NEDeviceBackend::setup_backend_context().

◆ synthetic_type

DataType synthetic_type { DataType::QASYMM8 }

The data type of the synthetic graph.

Definition at line 90 of file Types.h.

Referenced by arm_compute::graph::create_default_pass_manager().

◆ tuner_file

std::string tuner_file { "acl_tuner.csv" }

File to load/store tuning values from.

Definition at line 93 of file Types.h.

Referenced by CLDeviceBackend::setup_backend_context().

◆ tuner_mode

Tuner mode to be used by the CL tuner.

Definition at line 91 of file Types.h.

Referenced by CLDeviceBackend::setup_backend_context().

◆ use_function_memory_manager

bool use_function_memory_manager { true }

Use a memory manager to manage per-function auxilary memory.

Definition at line 85 of file Types.h.

Referenced by arm_compute::graph::backends::get_memory_manager().

◆ use_function_weights_manager

bool use_function_weights_manager { true }

Use a weights manager to manage transformed weights.

Definition at line 86 of file Types.h.

Referenced by arm_compute::graph::backends::get_weights_manager().

◆ use_synthetic_type

bool use_synthetic_type { false }

Convert graph to a synthetic graph for a data type.

Definition at line 89 of file Types.h.

Referenced by arm_compute::graph::create_default_pass_manager().

◆ use_transition_memory_manager

bool use_transition_memory_manager { true }

Use a memory manager to manager transition buffer memory.

Definition at line 87 of file Types.h.

Referenced by GraphManager::finalize_graph().

◆ use_tuner

bool use_tuner { false }

Use a tuner in tunable backends.

Definition at line 88 of file Types.h.

Referenced by CLDeviceBackend::setup_backend_context().


The documentation for this struct was generated from the following file: