From fe030bc8330ba435c0cdcab940cfb872c9277c69 Mon Sep 17 00:00:00 2001 From: xuchen-amd Date: Fri, 16 Aug 2024 12:40:10 -0400 Subject: [PATCH] Enable rocprofv1 for additional socs (#391) (#412) * Enable rocprofv1 for gfx940/941/942. * Enable rocprofv1 for gfx940/941/942. Enable rocprofv1 for gfx940/941/942, removing rocscope. Jira Tracking: https://ontrack-internal.amd.com/browse/SWDEV-474924 --------- Signed-off-by: xuchen-amd --- src/omniperf_soc/soc_gfx940.py | 2 +- src/omniperf_soc/soc_gfx941.py | 2 +- src/omniperf_soc/soc_gfx942.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/omniperf_soc/soc_gfx940.py b/src/omniperf_soc/soc_gfx940.py index 511e83710..77afc0247 100644 --- a/src/omniperf_soc/soc_gfx940.py +++ b/src/omniperf_soc/soc_gfx940.py @@ -50,7 +50,7 @@ def __init__(self, args, mspec): str(config.omniperf_home), "omniperf_soc", "profile_configs", "gfx940" ) ) - self.set_compatible_profilers(["rocprofv2"]) + self.set_compatible_profilers(["rocprofv1", "rocprofv2"]) # Per IP block max number of simultaneous counters. GFX IP Blocks self.set_perfmon_config( { diff --git a/src/omniperf_soc/soc_gfx941.py b/src/omniperf_soc/soc_gfx941.py index fa2674463..c7a74081c 100644 --- a/src/omniperf_soc/soc_gfx941.py +++ b/src/omniperf_soc/soc_gfx941.py @@ -50,7 +50,7 @@ def __init__(self, args, mspec): str(config.omniperf_home), "omniperf_soc", "profile_configs", "gfx940" ) ) - self.set_compatible_profilers(["rocprofv2"]) + self.set_compatible_profilers(["rocprofv1", "rocprofv2"]) # Per IP block max number of simultaneous counters. GFX IP Blocks self.set_perfmon_config( { diff --git a/src/omniperf_soc/soc_gfx942.py b/src/omniperf_soc/soc_gfx942.py index 88aeda39e..c18b38585 100644 --- a/src/omniperf_soc/soc_gfx942.py +++ b/src/omniperf_soc/soc_gfx942.py @@ -50,7 +50,7 @@ def __init__(self, args, mspec): str(config.omniperf_home), "omniperf_soc", "profile_configs", "gfx940" ) ) - self.set_compatible_profilers(["rocprofv2"]) + self.set_compatible_profilers(["rocprofv1", "rocprofv2"]) # Per IP block max number of simultaneous counters. GFX IP Blocks self.set_perfmon_config( {