From af76525baa3f67657fbbb329237a575c402a6809 Mon Sep 17 00:00:00 2001 From: vedithal-amd Date: Thu, 27 Mar 2025 10:24:21 -0400 Subject: [PATCH] Inject SQ_ACCUM_PREV_HIRES for LEVEL counters only (#641) --- src/rocprof_compute_soc/soc_base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rocprof_compute_soc/soc_base.py b/src/rocprof_compute_soc/soc_base.py index 45c50be023..8a0a37fe31 100644 --- a/src/rocprof_compute_soc/soc_base.py +++ b/src/rocprof_compute_soc/soc_base.py @@ -323,6 +323,9 @@ class OmniSoC_Base: if self.__arch not in ("gfx908", "gfx90a"): counters = counters - {"TCP_TCP_LATENCY_sum"} + # SQ_ACCUM_PREV_HIRES will be injected for level counters later on + counters = counters - {"SQ_ACCUM_PREV_HIRES"} + # Coalesce and writeback workload specific perfmon self.perfmon_coalesce(counters)