clDNN
|
Represents user-provided program build option. More...
#include <program.hpp>
Static Public Member Functions | |
static std::shared_ptr< const build_option > | fusing (bool enable=false) |
Allow primitives fusing during program build (default: false). | |
static std::shared_ptr< const build_option > | optimize_data (bool enable=false) |
Enable implicit reordering for user inputs (default: false). | |
static std::shared_ptr< const build_option > | debug (bool enable=false) |
Enable debug mode (default: false). More... | |
static std::shared_ptr< const build_option > | outputs (const std::vector< primitive_id > &outs) |
User selected list of program outputs. | |
static std::shared_ptr< const build_option > | tuning_config (const tuning_config_options &config=tuning_config_options()) |
Tuning configuration (default: false). More... | |
static std::shared_ptr< const build_option > | graph_dumps_dir (const std::string &dir_path) |
Specifies a directory to which stages of network compilation should be dumped (default: empty, i.e. no dumping) | |
Represents user-provided program build option.
Definition at line 89 of file program.hpp.
|
static |
Enable debug mode (default: false).
This option enforce all program primitives to be accessible as outputs.
|
static |
Tuning configuration (default: false).
This option 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 (unless the cache only mode is enabled). 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.