From 6b4618882fbbe9561dbf895e3c350cefd27ca3fb Mon Sep 17 00:00:00 2001 From: coleramos425 Date: Tue, 30 May 2023 13:30:39 -0500 Subject: [PATCH] Skip GRBM_GUI_ACTIVE checker in --roof-only mode Signed-off-by: coleramos425 [ROCm/rocprofiler-compute commit: 1b151e23a14295031edd70a3c526d0d1af017e48] --- .../rocprofiler-compute/src/omniperf_analyze/utils/parser.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/rocprofiler-compute/src/omniperf_analyze/utils/parser.py b/projects/rocprofiler-compute/src/omniperf_analyze/utils/parser.py index e3bcfbbf75..c46c7a91b9 100644 --- a/projects/rocprofiler-compute/src/omniperf_analyze/utils/parser.py +++ b/projects/rocprofiler-compute/src/omniperf_analyze/utils/parser.py @@ -467,8 +467,9 @@ def eval_metric(dfs, dfs_type, sys_info, soc_spec, raw_pmc_df, debug): Execute the expr string for each metric in the df. """ - # confirm no illogical counter values - if (raw_pmc_df["pmc_perf"]["GRBM_GUI_ACTIVE"] == 0).any(): + # confirm no illogical counter values (only consider non-roofline runs) + roof_only_run = (sys_info.ip_blocks == "roofline") + if not roof_only_run and (raw_pmc_df["pmc_perf"]["GRBM_GUI_ACTIVE"] == 0).any(): print("WARNING: Dectected GRBM_GUI_ACTIVE == 0\nHaulting execution.") sys.exit(1)