Skip to content

Commit 12430fe

Browse files
cfreeamdFreehill, Chris
authored andcommitted
rocr: Fix isa entries for gfx906/sramecc
Some of the entries for gfx906 in the ISA table in isa.cpp had "any" for "sramecc-" instead of "disabled". This fixes that.
1 parent f1bd89b commit 12430fe

File tree

1 file changed

+6
-6
lines changed
  • runtime/hsa-runtime/core/runtime

1 file changed

+6
-6
lines changed

runtime/hsa-runtime/core/runtime/isa.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -359,12 +359,12 @@ const IsaRegistry::IsaMap& IsaRegistry::GetSupportedIsas() {
359359
ISAREG_ENTRY_GEN("gfx906", 9, 0, 6, any, any, 64, "gfx9-generic")
360360
ISAREG_ENTRY_GEN("gfx906:xnack-", 9, 0, 6, any, disabled, 64, "gfx9-generic:xnack-")
361361
ISAREG_ENTRY_GEN("gfx906:xnack+", 9, 0, 6, any, enabled, 64, "gfx9-generic:xnack+")
362-
ISAREG_ENTRY_GEN("gfx906:sramecc-", 9, 0, 6, any, any, 64, "gfx9-generic")
363-
ISAREG_ENTRY_GEN("gfx906:sramecc+", 9, 0, 6, any, any, 64, "gfx9-generic")
364-
ISAREG_ENTRY_GEN("gfx906:sramecc-:xnack-", 9, 0, 6, any, disabled, 64, "gfx9-generic:xnack-")
365-
ISAREG_ENTRY_GEN("gfx906:sramecc-:xnack+", 9, 0, 6, any, enabled, 64, "gfx9-generic:xnack+")
366-
ISAREG_ENTRY_GEN("gfx906:sramecc+:xnack-", 9, 0, 6, any, disabled, 64, "gfx9-generic:xnack-")
367-
ISAREG_ENTRY_GEN("gfx906:sramecc+:xnack+", 9, 0, 6, any, enabled, 64, "gfx9-generic:xnack+")
362+
ISAREG_ENTRY_GEN("gfx906:sramecc-", 9, 0, 6, disabled, any, 64, "gfx9-generic")
363+
ISAREG_ENTRY_GEN("gfx906:sramecc+", 9, 0, 6, enabled, any, 64, "gfx9-generic")
364+
ISAREG_ENTRY_GEN("gfx906:sramecc-:xnack-", 9, 0, 6, disabled, disabled, 64, "gfx9-generic:xnack-")
365+
ISAREG_ENTRY_GEN("gfx906:sramecc-:xnack+", 9, 0, 6, disabled, enabled, 64, "gfx9-generic:xnack+")
366+
ISAREG_ENTRY_GEN("gfx906:sramecc+:xnack-", 9, 0, 6, enabled, disabled, 64, "gfx9-generic:xnack-")
367+
ISAREG_ENTRY_GEN("gfx906:sramecc+:xnack+", 9, 0, 6, enabled, enabled, 64, "gfx9-generic:xnack+")
368368
ISAREG_ENTRY_GEN("gfx908", 9, 0, 8, any, any, 64, "")
369369
ISAREG_ENTRY_GEN("gfx908:xnack-", 9, 0, 8, any, disabled, 64, "")
370370
ISAREG_ENTRY_GEN("gfx908:xnack+", 9, 0, 8, any, enabled, 64, "")

0 commit comments

Comments
 (0)