Add support for gfx90a
Merge gfx90a support from the 'amd-npi' branch. Change-Id: I9b51711ed4a1d2f1ed42ba9b83cb12136be228b8
This commit is contained in:
+3
-3
@@ -196,9 +196,9 @@ class MetricsDict {
|
||||
xml_->AddConst("top.const.metric", "SE_NUM", agent_info->se_num);
|
||||
ImportMetrics(agent_info, "const");
|
||||
agent_name_ = agent_info->name;
|
||||
if (std::string("gfx906") == agent_info->name) {
|
||||
ImportMetrics(agent_info, agent_info->name);
|
||||
} else if (std::string("gfx908") == 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);
|
||||
} else {
|
||||
agent_name_ = agent_info->gfxip;
|
||||
|
||||
Reference in New Issue
Block a user