From 7e4b62290c8b21506b32fccdb01213ad179c078f Mon Sep 17 00:00:00 2001 From: David Yat Sin <77975354+dayatsin-amd@users.noreply.github.com> Date: Thu, 13 Nov 2025 09:41:55 -0500 Subject: [PATCH] rocr: Switch back to legacy IPC (#1744) Switch back to legacy IPC Implementation while we fix some race conditions. --- projects/rocr-runtime/runtime/hsa-runtime/core/util/flag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/util/flag.h b/projects/rocr-runtime/runtime/hsa-runtime/core/util/flag.h index a79d4e923b..39019837a8 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/util/flag.h +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/util/flag.h @@ -242,7 +242,7 @@ class Flag { enable_mwaitx_ = (var == "1") ? true : false; var = os::GetEnvVar("HSA_ENABLE_IPC_MODE_LEGACY"); - enable_ipc_mode_legacy_ = (var == "1") ? true : false; + enable_ipc_mode_legacy_ = (var == "0") ? false : true; if (os::IsEnvVarSet("HSA_PCS_MAX_DEVICE_BUFFER_SIZE")) { var = os::GetEnvVar("HSA_PCS_MAX_DEVICE_BUFFER_SIZE");