From 9139f5a2410585f8f392428e88fb448a6fb975c8 Mon Sep 17 00:00:00 2001 From: Alysa Liu Date: Tue, 20 Jan 2026 14:34:10 -0500 Subject: [PATCH] Revert "rocr: Switch back to legacy IPC (#1744)" (#2676) This reverts commit 7e4b62290c8b21506b32fccdb01213ad179c078f. --- 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 85be91efd0..949d689904 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 == "0") ? false : true; + enable_ipc_mode_legacy_ = (var == "1") ? true : false; if (os::IsEnvVarSet("HSA_PCS_MAX_DEVICE_BUFFER_SIZE")) { var = os::GetEnvVar("HSA_PCS_MAX_DEVICE_BUFFER_SIZE");