ClikaRT::env
namespace
Variables
kLogVerbosity
const char* kLogVerbosity = "CLIKA_RT_LOG_VERBOSITY"
Log verbosity override for the ClikaRT logger: one of silent / error / warning / info / verbose (case-insensitive; debug reads as verbose). Overrides the build default (Debug in debug builds, Info in release). Read when the logger is first used. The same variable sets the runtime's own logging tier, so one setting covers every ClikaRT log line.
Declared in ClikaRT/common/env_vars.h, line 17
kNumThreads
const char* kNumThreads = "CLIKA_RT_NUM_THREADS"
Worker-thread count for ClikaRT's process-wide thread pool. When set, it caps the pool's width; otherwise the pool sizes itself to the host's physical cores. Read when the pool is first created (on the first compute), so set it before then; query the effective count with ClikaRT::threading::num_threads().
Declared in ClikaRT/common/env_vars.h, line 23
ClikaRT/common/env_vars.h
#include <ClikaRT/common/env_vars.h>
Environment variables the ClikaRT public API consults.
The names are provided as constants so a consumer can set or clear them without hardcoding strings. They are read when first needed (e.g. at the first model download), so set them before that point.