Add support for gfx909 and gfx90c
Change-Id: I88158789cdda44a173e3ca26d2c96b8e0ea0e221
This commit is contained in:
@@ -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 "";
|
||||
}
|
||||
|
||||
|
||||
@@ -281,6 +281,9 @@ constexpr size_t hsa_name_size = 63;
|
||||
ISAREG_ENTRY_GEN("gfx908:sramecc-:xnack+", 9, 0, 8, disabled, enabled)
|
||||
ISAREG_ENTRY_GEN("gfx908:sramecc+:xnack-", 9, 0, 8, enabled, disabled)
|
||||
ISAREG_ENTRY_GEN("gfx908:sramecc+:xnack+", 9, 0, 8, enabled, enabled)
|
||||
ISAREG_ENTRY_GEN("gfx909", 9, 0, 9, unsupported, any)
|
||||
ISAREG_ENTRY_GEN("gfx909:xnack-", 9, 0, 9, unsupported, disabled)
|
||||
ISAREG_ENTRY_GEN("gfx909:xnack+", 9, 0, 9, unsupported, enabled)
|
||||
ISAREG_ENTRY_GEN("gfx90a", 9, 0, 10, any, any)
|
||||
ISAREG_ENTRY_GEN("gfx90a:xnack-", 9, 0, 10, any, disabled)
|
||||
ISAREG_ENTRY_GEN("gfx90a:xnack+", 9, 0, 10, any, enabled)
|
||||
@@ -290,6 +293,9 @@ constexpr size_t hsa_name_size = 63;
|
||||
ISAREG_ENTRY_GEN("gfx90a:sramecc-:xnack+", 9, 0, 10, disabled, enabled)
|
||||
ISAREG_ENTRY_GEN("gfx90a:sramecc+:xnack-", 9, 0, 10, enabled, disabled)
|
||||
ISAREG_ENTRY_GEN("gfx90a:sramecc+:xnack+", 9, 0, 10, enabled, enabled)
|
||||
ISAREG_ENTRY_GEN("gfx90c", 9, 0, 12, unsupported, any)
|
||||
ISAREG_ENTRY_GEN("gfx90c:xnack-", 9, 0, 12, unsupported, disabled)
|
||||
ISAREG_ENTRY_GEN("gfx90c:xnack+", 9, 0, 12, unsupported, enabled)
|
||||
ISAREG_ENTRY_GEN("gfx1010", 10, 1, 0, unsupported, any)
|
||||
ISAREG_ENTRY_GEN("gfx1010:xnack-", 10, 1, 0, unsupported, disabled)
|
||||
ISAREG_ENTRY_GEN("gfx1010:xnack+", 10, 1, 0, unsupported, enabled)
|
||||
|
||||
Reference in New Issue
Block a user