Skip to content

Commit 4e4d7ab

Browse files
rocr: Switch back to legacy IPC (#1751)
Switch back to legacy IPC Implementation while we fix some race conditions. Co-authored-by: David Yat Sin <David.YatSin@amd.com>
1 parent 5f18669 commit 4e4d7ab

File tree

1 file changed

+1
-1
lines changed
  • runtime/hsa-runtime/core/util

1 file changed

+1
-1
lines changed

runtime/hsa-runtime/core/util/flag.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ class Flag {
242242
enable_mwaitx_ = (var == "1") ? true : false;
243243

244244
var = os::GetEnvVar("HSA_ENABLE_IPC_MODE_LEGACY");
245-
enable_ipc_mode_legacy_ = (var == "1") ? true : false;
245+
enable_ipc_mode_legacy_ = (var == "0") ? false : true;
246246

247247
if (os::IsEnvVarSet("HSA_PCS_MAX_DEVICE_BUFFER_SIZE")) {
248248
var = os::GetEnvVar("HSA_PCS_MAX_DEVICE_BUFFER_SIZE");

0 commit comments

Comments
 (0)