class config
Declaration
class config { /* full declaration omitted */ };
Member Variables
- log_level m_log_lvl
- std::optional<bool> m_enable_device_profiling
- size_t m_dry_run_nodes = 0
- bool m_should_print_graphs = false
- std::optional<int> m_horizon_step
- std::optional<int> m_horizon_max_parallelism
- 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_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
Member Functions
¶config(int* argc, char*** argv)
config(int* argc, char*** argv)
Description
Initializes the @p config by parsing environment variables and passed arguments.
Parameters
- int* argc
- char*** argv
¶int get_dry_run_nodes() const
int get_dry_run_nodes() const
¶std::optional<int> get_horizon_max_parallelism()
const
std::optional<int> get_horizon_max_parallelism()
const
¶std::optional<int> get_horizon_step() const
std::optional<int> get_horizon_step() const
¶log_level get_log_level() const
log_level get_log_level() const
¶tracy_mode get_tracy_mode() const
tracy_mode get_tracy_mode() const
¶bool is_dry_run() const
bool is_dry_run() const
¶bool should_enable_device_profiling() const
bool should_enable_device_profiling() const
¶bool should_print_graphs() const
bool should_print_graphs() const
¶bool should_record() const
bool should_record() const