From 713570908acc10b7ce7563e5deb2bfe957e66595 Mon Sep 17 00:00:00 2001 From: ywang103-amd Date: Thu, 23 Jan 2025 15:37:00 -0500 Subject: [PATCH] enable rocprofv3 for all old soc architectures (#539) * enable rocprofv3 for all old soc archetectures * remove gfx906 from rocprofv3 --- src/rocprof_compute_soc/soc_gfx908.py | 2 +- src/rocprof_compute_soc/soc_gfx90a.py | 2 +- src/rocprof_compute_soc/soc_gfx940.py | 2 +- src/rocprof_compute_soc/soc_gfx941.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rocprof_compute_soc/soc_gfx908.py b/src/rocprof_compute_soc/soc_gfx908.py index a4fec81863..c8bcdb59fa 100644 --- a/src/rocprof_compute_soc/soc_gfx908.py +++ b/src/rocprof_compute_soc/soc_gfx908.py @@ -42,7 +42,7 @@ class gfx908_soc(OmniSoC_Base): ) ) ) - self.set_compatible_profilers(["rocprofv1", "rocscope"]) + self.set_compatible_profilers(["rocprofv1", "rocscope", "rocprofv3"]) # Per IP block max number of simultaneous counters. GFX IP Blocks self.set_perfmon_config( { diff --git a/src/rocprof_compute_soc/soc_gfx90a.py b/src/rocprof_compute_soc/soc_gfx90a.py index a84ebc5575..4147314614 100644 --- a/src/rocprof_compute_soc/soc_gfx90a.py +++ b/src/rocprof_compute_soc/soc_gfx90a.py @@ -55,7 +55,7 @@ class gfx90a_soc(OmniSoC_Base): ) ) ) - self.set_compatible_profilers(["rocprofv1", "rocscope", "rocprofv2"]) + self.set_compatible_profilers(["rocprofv1", "rocscope", "rocprofv2", "rocprofv3"]) # Per IP block max number of simultaneous counters. GFX IP Blocks self.set_perfmon_config( { diff --git a/src/rocprof_compute_soc/soc_gfx940.py b/src/rocprof_compute_soc/soc_gfx940.py index ca63df993e..626dee1753 100644 --- a/src/rocprof_compute_soc/soc_gfx940.py +++ b/src/rocprof_compute_soc/soc_gfx940.py @@ -56,7 +56,7 @@ class gfx940_soc(OmniSoC_Base): ) ) ) - self.set_compatible_profilers(["rocprofv1", "rocprofv2"]) + self.set_compatible_profilers(["rocprofv1", "rocprofv2", "rocprofv3"]) # Per IP block max number of simultaneous counters. GFX IP Blocks self.set_perfmon_config( { diff --git a/src/rocprof_compute_soc/soc_gfx941.py b/src/rocprof_compute_soc/soc_gfx941.py index 9fdef9c7cb..31e9efd4ad 100644 --- a/src/rocprof_compute_soc/soc_gfx941.py +++ b/src/rocprof_compute_soc/soc_gfx941.py @@ -56,7 +56,7 @@ class gfx941_soc(OmniSoC_Base): ) ) ) - self.set_compatible_profilers(["rocprofv1", "rocprofv2"]) + self.set_compatible_profilers(["rocprofv1", "rocprofv2", "rocprofv3"]) # Per IP block max number of simultaneous counters. GFX IP Blocks self.set_perfmon_config( {