clDNN
Program compilation
Collaboration diagram for Program compilation:

Classes

struct  cldnn::tuning_config_options
 Tuning configuration. More...
 
struct  cldnn::build_option
 Represents user-provided program build option. More...
 
struct  cldnn::build_option_bool< OptType >
 build_option specialization for boolean options. More...
 
struct  cldnn::build_option_outputs
 build_option specialization for program outputs list. More...
 
struct  cldnn::build_option_tuning_config
 build_option specialization for tuning config. More...
 
struct  cldnn::build_option_directory< OptType >
 build_option specialization for selecting a directory. More...
 
class  cldnn::build_options
 Represents program build options list. More...
 
struct  cldnn::program
 Compiled program build from topology by engine. More...
 

Enumerations

enum  cldnn::build_option_type {
  cldnn::build_option_type::fusing = cldnn_build_option_fusing, cldnn::build_option_type::optimize_data = cldnn_build_option_optimize_data, cldnn::build_option_type::debug = cldnn_build_option_debug, cldnn::build_option_type::outputs = cldnn_build_option_outputs,
  cldnn::build_option_type::tuning_config = cldnn_build_option_tuning_config, cldnn::build_option_type::graph_dumps_dir = cldnn_build_option_graph_dumps_dir
}
 Represents user-provided program build option type. More...
 
enum  cldnn::tuning_mode { cldnn::tuning_mode::tuning_disabled = cldnn_tuning_disabled, cldnn::tuning_mode::tuning_use_cache = cldnn_tuning_use_cache, cldnn::tuning_mode::tuning_tune_and_cache = cldnn_tuning_tune_and_cache }
 Tuning mode. More...
 

Detailed Description

Enumeration Type Documentation

◆ build_option_type

Represents user-provided program build option type.

Enumerator
fusing 

Allow primitives fusing during program build (default: false).

optimize_data 

Enable implicit reordering for user inputs (default: false).

debug 

Enable debug mode (default: false).

This option enforce all program primitives to be accessible as outputs.

outputs 

User selected list of program outputs.

tuning_config 

Tuning config (default: Tuning is disabled).

The tuner will automatically find the optimal kernel/config for each node in the graph, by running multiple implementations and configurations per node and storing the optimal one in cache. Expect long execution time in the first run. After the first run a cache with the tuning results will be created in the path provided. This cache will be used in the next runs.

graph_dumps_dir 

Specifies a directory to which stages of network compilation should be dumped. (default: empty, i.e. no dumping)

Definition at line 36 of file program.hpp.

◆ tuning_mode

enum cldnn::tuning_mode
strong

Tuning mode.

Enumerator
tuning_disabled 

Tuning is disabled.

tuning_use_cache 

Tuning using the cached data (no on-line tuning for non-existing data).

tuning_tune_and_cache 

Tuning using the cached data if exist, tune and update cache otherwise.

Definition at line 64 of file program.hpp.