SWDEV-302380: [ROCm QA][Mainline][Navi21] 6 tests are failing in rocprofiler-stg2

This is an attempt to support basic and derived counters for navi21.  This code will not work correctly unless we add navi counters to metrics.xml and gfx_metrics.xml

Change-Id: Ied06a81345a6fbb02fa0fde1889d94bbe64e9a03


[ROCm/rocprofiler commit: b53fd84ade]
This commit is contained in:
Kiumars Sabeti authored and Kiumars Sabeti committed 2022-08-05 17:31:37 -04:00
1 parent 6e1ea79067
commit d5974aba78
3 file changed
+143 -107

No files matched your search

+5 -2
View File
@@ -198,8 +198,11 @@ class MetricsDict {
agent_name_ = agent_info->name;
if (std::string("gfx906") == agent_info->name ||
std::string("gfx908") == agent_info->name ||
std::string("gfx90a") == agent_info->name) {
ImportMetrics(agent_info, agent_info->name);
std::string("gfx90a") == agent_info->name ||
std::string("gfx1032") == agent_info->name ||
std::string("gfx1031") == agent_info->name ||
std::string("gfx1030") == agent_info->name){
ImportMetrics(agent_info, agent_info->name);
} else {
agent_name_ = agent_info->gfxip;
ImportMetrics(agent_info, agent_info->gfxip);