Bring naming on par with the spec (hsa-runtime)

Change-Id: Ie1903c90a195cf95b186eb5552131a20af408adf
Этот коммит содержится в:
Konstantin Zhuravlyov
2018-04-03 17:58:24 -04:00
коммит произвёл Konstantin Zhuravlyov
родитель 0d9e71a63a
Коммит 7ef70f7eaa
4 изменённых файлов: 170 добавлений и 43 удалений
+6 -10
Просмотреть файл
@@ -67,13 +67,12 @@ bool Wavefront::GetInfo(
std::string Isa::GetFullName() const {
std::stringstream full_name;
full_name << GetVendor() << ":" << GetArchitecture() << ":"
<< GetMajorVersion() << ":" << GetMinorVersion() << ":"
<< GetStepping();
full_name << GetArchitecture() << "-" << GetVendor() << "-" << GetOS() << "-"
<< GetEnvironment() << "-gfx" << GetMajorVersion()
<< GetMinorVersion() << GetStepping();
if (xnackEnabled_) {
full_name << "-xnack";
}
if (xnackEnabled_)
full_name << "+xnack";
return full_name.str();
}
@@ -206,14 +205,11 @@ const IsaRegistry::IsaMap IsaRegistry::GetSupportedIsas() {
ISAREG_ENTRY_GEN(8, 0, 1, true)
ISAREG_ENTRY_GEN(8, 0, 2, false)
ISAREG_ENTRY_GEN(8, 0, 3, false)
ISAREG_ENTRY_GEN(8, 1, 0, true)
ISAREG_ENTRY_GEN(9, 0, 0, false)
ISAREG_ENTRY_GEN(9, 0, 1, false)
ISAREG_ENTRY_GEN(9, 0, 2, true)
ISAREG_ENTRY_GEN(9, 0, 3, false)
ISAREG_ENTRY_GEN(9, 0, 4, false)
ISAREG_ENTRY_GEN(9, 0, 5, false)
ISAREG_ENTRY_GEN(9, 0, 6, false)
ISAREG_ENTRY_GEN(9, 0, 7, false)
return supported_isas;
}