From 08a132bcc66163a5829efec3a376b6aec63f3e37 Mon Sep 17 00:00:00 2001 From: Jack Luar Date: Mon, 14 Oct 2024 16:27:17 +0000 Subject: [PATCH] add bug fix to variable tunable check Signed-off-by: Jack Luar --- tools/AutoTuner/src/autotuner/distributed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/AutoTuner/src/autotuner/distributed.py b/tools/AutoTuner/src/autotuner/distributed.py index 96e7bebed3..1c1763faa4 100644 --- a/tools/AutoTuner/src/autotuner/distributed.py +++ b/tools/AutoTuner/src/autotuner/distributed.py @@ -412,7 +412,7 @@ def parse_config(config, path=os.getcwd()): else: # Default case is VAR=VALUE # Sanity check: ignore all flow variables that are not tunable - if flow_variables.get(key, 0) == 1: + if flow_variables.get(key, 0) == 0: print(f"[ERROR TUN-0017] Variable {key} is not tunable.") sys.exit(1) options += f" {key}={value}"