Add support for gfx90a

Merge gfx90a support from the 'amd-npi' branch.

Change-Id: I9b51711ed4a1d2f1ed42ba9b83cb12136be228b8
此提交包含在:
AMD authored and Laurent Morichetti committed 2021-06-16 16:35:42 -07:00
1 父節點 afad08b4c5
當前提交 4df3e0bd9a
3 file changed
+26 -5

No files matched your search

+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;