Add support for gfx90a

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

Change-Id: I9b51711ed4a1d2f1ed42ba9b83cb12136be228b8
이 커밋은 다음에 포함됨:
AMD
2021-06-16 18:33:58 -05:00
커밋한 사람 Laurent Morichetti
부모 afad08b4c5
커밋 4df3e0bd9a
3개의 변경된 파일과 26개의 추가작업 그리고 5개의 파일을 삭제
+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;