Skip to content

Commit f42bb80

Browse files
committed
Clean up env-var in rocprof driver
1 parent c278797 commit f42bb80

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎op_tests/topk_decode_rocprof_driver.py‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,11 @@
5050
"aiter_hip": re.compile(r"fillBufferAligned"),
5151
}
5252

53-
KERNEL_ENV = {
54-
"flydsl_tiered": {
55-
"FLYDSL_TOPK_TIERED": "1",
56-
"FLYDSL_TOPK_TIERED_MIN_ROW_LEN": "0",
57-
},
58-
}
53+
# Per-kernel env overrides merged over os.environ for the runner subprocess.
54+
# Currently none -- the tiered path's knobs (FLYDSL_TOPK_TIERED_OVERRIDE,
55+
# _SHORT_MAX, _MASK_NONFINITE, ...) are read straight from the environment, so set
56+
# them on the command line when benchmarking rather than hard-coding here.
57+
KERNEL_ENV: dict[str, dict[str, str]] = {}
5958

6059

6160
def run_cell(

0 commit comments

Comments
 (0)