Add support for gfx909 and gfx90c

Change-Id: I88158789cdda44a173e3ca26d2c96b8e0ea0e221
This commit is contained in:
Tony Tye
2021-04-08 16:55:07 +00:00
rodzic 243e29ba8e
commit a97c14abea
9 zmienionych plików z 44 dodań i 18 usunięć
@@ -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 "";
}