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:
committad av
Kiumars Sabeti
förälder
6e1ea79067
incheckning
d5974aba78
Regular → Executable
+5
-2
@@ -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);
|
||||
|
||||
Referens i nytt ärende
Block a user