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
2022-02-08 00:59:47 +00:00
committad av Kiumars Sabeti
förälder 6e1ea79067
incheckning d5974aba78
3 ändrade filer med 143 tillägg och 107 borttagningar
+5 -2
Visa fil
@@ -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);