Add gfx1031 support

Change-Id: I855f7fe8d096331d0c1da10b10adf6b1e75a527f
This commit is contained in:
Chris Freehill
2020-07-20 22:54:17 -05:00
committed by Sean Keely
parent 2a0c6774fb
commit 4944c74189
9 changed files with 18 additions and 4 deletions
+2
View File
@@ -1890,6 +1890,8 @@ static std::string ConvertOldTargetNameToNew(
NewName = "amdgcn-amd-amdhsa--gfx1012";
else if (OldName == "AMD:AMDGPU:10:3:0")
NewName = "amdgcn-amd-amdhsa--gfx1030";
else if (OldName == "AMD:AMDGPU:10:3:1")
NewName = "amdgcn-amd-amdhsa--gfx1031";
else
assert(false && "Unhandled target");
+2 -1
View File
@@ -238,7 +238,8 @@ const IsaRegistry::IsaMap IsaRegistry::GetSupportedIsas() {
ISAREG_ENTRY_GEN(10, 1, 2, true, false)
ISAREG_ENTRY_GEN(10, 3, 0, false, false)
ISAREG_ENTRY_GEN(10, 3, 0, true, false)
ISAREG_ENTRY_GEN(10, 3, 1, false, false)
ISAREG_ENTRY_GEN(10, 3, 1, true, false)
return supported_isas;
}