class config
Declaration
class config { /* full declaration omitted */ };
Declared at: include/config.h:19
Member Variables
- log_level m_log_lvl
- std::optional<bool> m_enable_device_profiling
- bool m_enable_backend_device_submission_threads = true
- thread_pinning::environment_configuration m_thread_pinning_config
- int m_dry_run_num_nodes = 0
- bool m_should_print_graphs = false
- std::optional<int> m_horizon_step
- std::optional<int> m_horizon_max_parallelism
- experimental::lookahead m_lookahead = experimental::lookahead::automatic
- tracy_mode m_tracy_mode = tracy_mode::off
Member Function Overview
- config(int * argc, char *** argv)
- get_dry_run_nodes() const → int
- get_horizon_max_parallelism() const → std::optional<int>
- get_horizon_step() const → std::optional<int>
- get_log_level() const → log_level
- get_lookahead() → experimental::lookahead
- get_thread_pinning_config() const & → const thread_pinning::environment_configuration &
- get_tracy_mode() const → tracy_mode
- is_dry_run() const → bool
- should_enable_device_profiling() const → bool
- should_print_graphs() const → bool
- should_record() const → bool
- should_use_backend_device_submission_threads() const → bool
Member Functions
¶config(int* argc, char*** argv)
config(int* argc, char*** argv)
Description
Initializes the @p config by parsing environment variables and passed arguments.
Declared at: include/config.h:24
Parameters
- int* argc
- char*** argv
¶int get_dry_run_nodes() const
int get_dry_run_nodes() const
Declared at: include/config.h:37
¶std::optional<int> get_horizon_max_parallelism()
const
std::optional<int> get_horizon_max_parallelism()
const
Declared at: include/config.h:39
¶std::optional<int> get_horizon_step() const
std::optional<int> get_horizon_step() const
Declared at: include/config.h:38
¶log_level get_log_level() const
log_level get_log_level() const
Declared at: include/config.h:26
¶experimental::lookahead get_lookahead()
experimental::lookahead get_lookahead()
Declared at: include/config.h:40
¶const thread_pinning::environment_configuration&
get_thread_pinning_config() const&
const thread_pinning::environment_configuration&
get_thread_pinning_config() const&
Declared at: include/config.h:30
¶tracy_mode get_tracy_mode() const
tracy_mode get_tracy_mode() const
Declared at: include/config.h:41
¶bool is_dry_run() const
bool is_dry_run() const
Declared at: include/config.h:36
¶bool should_enable_device_profiling() const
bool should_enable_device_profiling() const
Declared at: include/config.h:28
¶bool should_print_graphs() const
bool should_print_graphs() const
Declared at: include/config.h:31
¶bool should_record() const
bool should_record() const
Declared at: include/config.h:32
¶bool should_use_backend_device_submission_threads()
const
bool should_use_backend_device_submission_threads()
const
Declared at: include/config.h:29