Add gfx1031 support
Change-Id: I855f7fe8d096331d0c1da10b10adf6b1e75a527f
This commit is contained in:
committed by
Sean Keely
parent
2a0c6774fb
commit
4944c74189
@@ -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");
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user