rocr: Fix ISA generic's for gfx906 wrt sramecc

gfx9-generic cannot support sramecc- and sramecc+.
sramecc feature is only configurable on gfx906.

The code object produced for gfx9-generic can be loaded on both
gfx906 with any sramecc setting, compiler will produce the isa
that will correctly work on both (EF_AMDGPU_FEATURE_SRAMECC_ANY_V4).


[ROCm/ROCR-Runtime commit: 3e99bb6150]
Este commit está contenido en:
cfreeamd
2025-05-08 09:59:41 -05:00
cometido por Freehill, Chris
padre 3ab8b5a98b
commit b7d56427ec
@@ -365,12 +365,12 @@ const IsaRegistry::IsaMap& IsaRegistry::GetSupportedIsas() {
ISAREG_ENTRY_GEN("gfx906", 9, 0, 6, any, any, 64, "gfx9-generic")
ISAREG_ENTRY_GEN("gfx906:xnack-", 9, 0, 6, any, disabled, 64, "gfx9-generic:xnack-")
ISAREG_ENTRY_GEN("gfx906:xnack+", 9, 0, 6, any, enabled, 64, "gfx9-generic:xnack+")
ISAREG_ENTRY_GEN("gfx906:sramecc-", 9, 0, 6, disabled, any, 64, "gfx9-generic:sramecc-")
ISAREG_ENTRY_GEN("gfx906:sramecc+", 9, 0, 6, enabled, any, 64, "gfx9-generic:sramecc+")
ISAREG_ENTRY_GEN("gfx906:sramecc-:xnack-", 9, 0, 6, disabled, disabled, 64, "gfx9-generic:sramecc-:xnack-")
ISAREG_ENTRY_GEN("gfx906:sramecc-:xnack+", 9, 0, 6, disabled, enabled, 64, "gfx9-generic:sramecc-:xnack+")
ISAREG_ENTRY_GEN("gfx906:sramecc+:xnack-", 9, 0, 6, enabled, disabled, 64, "gfx9-generic:sramecc+:xnack-")
ISAREG_ENTRY_GEN("gfx906:sramecc+:xnack+", 9, 0, 6, enabled, enabled, 64, "gfx9-generic:sramecc+:xnack+")
ISAREG_ENTRY_GEN("gfx906:sramecc-", 9, 0, 6, any, any, 64, "gfx9-generic")
ISAREG_ENTRY_GEN("gfx906:sramecc+", 9, 0, 6, any, any, 64, "gfx9-generic")
ISAREG_ENTRY_GEN("gfx906:sramecc-:xnack-", 9, 0, 6, any, disabled, 64, "gfx9-generic:xnack-")
ISAREG_ENTRY_GEN("gfx906:sramecc-:xnack+", 9, 0, 6, any, enabled, 64, "gfx9-generic:xnack+")
ISAREG_ENTRY_GEN("gfx906:sramecc+:xnack-", 9, 0, 6, any, disabled, 64, "gfx9-generic:xnack-")
ISAREG_ENTRY_GEN("gfx906:sramecc+:xnack+", 9, 0, 6, any, enabled, 64, "gfx9-generic:xnack+")
ISAREG_ENTRY_GEN("gfx908", 9, 0, 8, any, any, 64, "")
ISAREG_ENTRY_GEN("gfx908:xnack-", 9, 0, 8, any, disabled, 64, "")
ISAREG_ENTRY_GEN("gfx908:xnack+", 9, 0, 8, any, enabled, 64, "")