From b77fcf575e2aeb7623493a0e792df228bd94441c Mon Sep 17 00:00:00 2001 From: Daniel Su Date: Mon, 28 Apr 2025 15:38:07 -0400 Subject: [PATCH] Set rocprofV3 agent-index to `absolute` (#675) Signed-off-by: Daniel Su --- src/utils/utils.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/utils/utils.py b/src/utils/utils.py index fa0629fc63..b77f916ac9 100644 --- a/src/utils/utils.py +++ b/src/utils/utils.py @@ -587,8 +587,10 @@ def run_prof( # standard rocprof options default_options = ["-i", fname] options = default_options + profiler_options - if using_v3() and path_counter_config_yaml.exists(): - options = ["-E", str(path_counter_config_yaml)] + options + if using_v3(): + options = ["-A", "absolute"] + options + if path_counter_config_yaml.exists(): + options = ["-E", str(path_counter_config_yaml)] + options # set required env var for mi300 new_env = None