From 0557b0f33643db5475ecf9cacbd7df53f9efe17f Mon Sep 17 00:00:00 2001 From: coleramos425 Date: Tue, 30 May 2023 13:40:49 -0500 Subject: [PATCH] Comply to Python formatting Signed-off-by: coleramos425 [ROCm/rocprofiler-compute commit: 2049e56eb27c2a684a12471c4999353b7889fa66] --- .../rocprofiler-compute/src/omniperf_analyze/utils/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocprofiler-compute/src/omniperf_analyze/utils/parser.py b/projects/rocprofiler-compute/src/omniperf_analyze/utils/parser.py index c46c7a91b9..d11cbbbfcf 100644 --- a/projects/rocprofiler-compute/src/omniperf_analyze/utils/parser.py +++ b/projects/rocprofiler-compute/src/omniperf_analyze/utils/parser.py @@ -468,7 +468,7 @@ def eval_metric(dfs, dfs_type, sys_info, soc_spec, raw_pmc_df, debug): """ # confirm no illogical counter values (only consider non-roofline runs) - roof_only_run = (sys_info.ip_blocks == "roofline") + 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)