From 7fe67829efa9693314c00e9972f15e4ae6c12645 Mon Sep 17 00:00:00 2001 From: cfreeamd Date: Thu, 8 May 2025 09:59:41 -0500 Subject: [PATCH] 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: b7361c5ee4da211540e50d4778a49970efa611b9] --- .../rocr-runtime/runtime/hsa-runtime/core/runtime/isa.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/isa.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/isa.cpp index be059c39f1..85bba1a966 100755 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/isa.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/isa.cpp @@ -259,12 +259,6 @@ IsaRegistry::GetSupportedGenericVersions() { {prepend_isa_prefix("gfx9-generic"), 1}, {prepend_isa_prefix("gfx9-generic:xnack-"), 1}, {prepend_isa_prefix("gfx9-generic:xnack+"), 1}, - {prepend_isa_prefix("gfx9-generic:sramecc-"), 1}, - {prepend_isa_prefix("gfx9-generic:sramecc+"), 1}, - {prepend_isa_prefix("gfx9-generic:sramecc-:xnack-"), 1}, - {prepend_isa_prefix("gfx9-generic:sramecc+:xnack+"), 1}, - {prepend_isa_prefix("gfx9-generic:sramecc-:xnack-"), 1}, - {prepend_isa_prefix("gfx9-generic:sramecc+:xnack+"), 1}, {prepend_isa_prefix("gfx9-4-generic"), 1}, {prepend_isa_prefix("gfx9-4-generic:xnack-"), 1}, {prepend_isa_prefix("gfx9-4-generic:xnack+"), 1},