From a260b63b964cbcffaf93294bb971359cf7ccbdb7 Mon Sep 17 00:00:00 2001 From: Kiumars Sabeti Date: Wed, 22 Mar 2023 19:01:12 -0400 Subject: [PATCH] SWDEV-380635: adding gfx11 architecture to rocprofiler which includes navi31 and navi32 for now Change-Id: Ib2a93a34688471c82b5db0dc10e8da58452dba21 [ROCm/rocprofiler commit: 997c771723c087cdb6331cd0c625b2217517c123] --- projects/rocprofiler/src/core/metrics.h | 4 +- .../rocprofiler/test/tool/gfx_metrics.xml | 49 +++++++++++++++++++ projects/rocprofiler/test/tool/metrics.xml | 37 ++++++++++++++ 3 files changed, 89 insertions(+), 1 deletion(-) diff --git a/projects/rocprofiler/src/core/metrics.h b/projects/rocprofiler/src/core/metrics.h index 7ba9e35bbb..e88a6c7c2f 100755 --- a/projects/rocprofiler/src/core/metrics.h +++ b/projects/rocprofiler/src/core/metrics.h @@ -201,7 +201,9 @@ class MetricsDict { std::string("gfx90a") == agent_info->name || std::string("gfx1032") == agent_info->name || std::string("gfx1031") == agent_info->name || - std::string("gfx1030") == agent_info->name){ + std::string("gfx1030") == agent_info->name || + std::string("gfx1100") == agent_info->name || + std::string("gfx1101") == agent_info->name){ ImportMetrics(agent_info, agent_info->name); } else { agent_name_ = agent_info->gfxip; diff --git a/projects/rocprofiler/test/tool/gfx_metrics.xml b/projects/rocprofiler/test/tool/gfx_metrics.xml index c7f484726c..a1ff2ea710 100755 --- a/projects/rocprofiler/test/tool/gfx_metrics.xml +++ b/projects/rocprofiler/test/tool/gfx_metrics.xml @@ -425,3 +425,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/projects/rocprofiler/test/tool/metrics.xml b/projects/rocprofiler/test/tool/metrics.xml index 8031d02931..f3f7b7eac6 100755 --- a/projects/rocprofiler/test/tool/metrics.xml +++ b/projects/rocprofiler/test/tool/metrics.xml @@ -239,6 +239,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -264,6 +297,10 @@ + + + + # GPUBusy The percentage of time GPU was busy.