Add support for gfx909 and gfx90c

Change-Id: I88158789cdda44a173e3ca26d2c96b8e0ea0e221
This commit is contained in:
Tony Tye committed 2021-04-08 22:37:30 +00:00
1 parent 243e29ba8e
commit a97c14abea
9 files changed
+44 -18

No files matched your search

+6 -2
View File
@@ -1894,9 +1894,13 @@ static std::string ConvertOldTargetNameToNew(
NewName = "amdgcn-amd-amdhsa--gfx906";
xnack_supported = true;
}
else if (OldName == "AMD:AMDGPU:9:0:12") {
NewName = "amdgcn-amd-amdhsa--gfx90c";
xnack_supported = true;
}
else {
// Code object v2 only supports asics up to gfx906. Do NOT add handling
// of new asics into this if-else-if* block.
// Code object v2 only supports asics up to gfx906 plus gfx90c. Do NOT add
// handling of new asics into this if-else-if* block.
return "";
}