clDNN
cldnn::build_option_bool< OptType > Struct Template Reference

build_option specialization for boolean options. More...

#include <program.hpp>

Inheritance diagram for cldnn::build_option_bool< OptType >:
Collaboration diagram for cldnn::build_option_bool< OptType >:

Public Member Functions

 build_option_bool (bool value)
 Constructs option. More...
 
 build_option_bool (const cldnn_build_option &value)
 Constructs from C API cldnn_build_option.
 
bool enabled () const
 Is option enabled.
 

Additional Inherited Members

- Static Public Member Functions inherited from cldnn::build_option
static std::shared_ptr< const build_optionfusing (bool enable=false)
 Allow primitives fusing during program build (default: false).
 
static std::shared_ptr< const build_optionoptimize_data (bool enable=false)
 Enable implicit reordering for user inputs (default: false).
 
static std::shared_ptr< const build_optiondebug (bool enable=false)
 Enable debug mode (default: false). More...
 
static std::shared_ptr< const build_optionoutputs (const std::vector< primitive_id > &outs)
 User selected list of program outputs.
 
static std::shared_ptr< const build_optiontuning_config (const tuning_config_options &config=tuning_config_options())
 Tuning configuration (default: false). More...
 
static std::shared_ptr< const build_optiongraph_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)
 

Detailed Description

template<build_option_type OptType>
struct cldnn::build_option_bool< OptType >

build_option specialization for boolean options.

Definition at line 129 of file program.hpp.

Constructor & Destructor Documentation

◆ build_option_bool()

template<build_option_type OptType>
cldnn::build_option_bool< OptType >::build_option_bool ( bool  value)
inlineexplicit

Constructs option.

Parameters
valueIs option enabled.

Definition at line 133 of file program.hpp.


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