From 12430fe25a91faff276c65ace2019d42927351a2 Mon Sep 17 00:00:00 2001 From: Chris Freehill Date: Mon, 30 Jun 2025 16:33:47 -0500 Subject: [PATCH] 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. --- runtime/hsa-runtime/core/runtime/isa.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/runtime/hsa-runtime/core/runtime/isa.cpp b/runtime/hsa-runtime/core/runtime/isa.cpp index 85bba1a966..c22a33410d 100755 --- a/runtime/hsa-runtime/core/runtime/isa.cpp +++ b/runtime/hsa-runtime/core/runtime/isa.cpp @@ -359,12 +359,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, 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("gfx906:sramecc-", 9, 0, 6, disabled, any, 64, "gfx9-generic") + ISAREG_ENTRY_GEN("gfx906:sramecc+", 9, 0, 6, enabled, any, 64, "gfx9-generic") + ISAREG_ENTRY_GEN("gfx906:sramecc-:xnack-", 9, 0, 6, disabled, disabled, 64, "gfx9-generic:xnack-") + ISAREG_ENTRY_GEN("gfx906:sramecc-:xnack+", 9, 0, 6, disabled, enabled, 64, "gfx9-generic:xnack+") + ISAREG_ENTRY_GEN("gfx906:sramecc+:xnack-", 9, 0, 6, enabled, disabled, 64, "gfx9-generic:xnack-") + ISAREG_ENTRY_GEN("gfx906:sramecc+:xnack+", 9, 0, 6, enabled, 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, "")