From 38bec00960c3058643555efcf708f13cc359ac3d Mon Sep 17 00:00:00 2001 From: David Yat Sin Date: Tue, 15 Aug 2023 23:17:34 +0000 Subject: [PATCH] Temporarily disable SDMA ganging by default SDMA ganging is causing some regressions with some applications hanging. Temporarily disabling SDMA ganging by default until issue is fixed. Change-Id: I65e172923a53a967df27b30d969ad5d215c4fa09 [ROCm/ROCR-Runtime commit: a20a0a5bac953429245ad5399e64f58ece67a3f1] --- .../runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp index 0e591f7eb5..ba4d804482 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp @@ -885,7 +885,7 @@ hsa_status_t GpuAgent::DmaCopy(void* dst, core::Agent& dst_agent, Flag::SDMA_OVERRIDE sdma_override = core::Runtime::runtime_singleton_->flag().enable_sdma(); // Blit copies already saturate xGMI - if (sdma_override == Flag::SDMA_DISABLE || sdma_gang_override == Flag::SDMA_DISABLE) { + if (sdma_override == Flag::SDMA_DISABLE || sdma_gang_override != Flag::SDMA_ENABLE) { break; }