From ea646cf9589f8ff0dfe07660a18c8d4dd128c60e Mon Sep 17 00:00:00 2001 From: Jonathan Kim Date: Mon, 12 Aug 2024 13:09:17 -0400 Subject: [PATCH] Disable DMABUF IPC iplementation Current DMABUF implemenation is unstable. Switch back to legacy support for now. Change-Id: I3be871f38c6524b0bcc9225bab61de4e57771efb --- runtime/hsa-runtime/core/util/flag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/hsa-runtime/core/util/flag.h b/runtime/hsa-runtime/core/util/flag.h index a75d3f6bb0..16226b19db 100644 --- a/runtime/hsa-runtime/core/util/flag.h +++ b/runtime/hsa-runtime/core/util/flag.h @@ -230,7 +230,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 == "1") ? true : true; // Disable DMA-buf implementation for now if (os::IsEnvVarSet("HSA_PCS_MAX_DEVICE_BUFFER_SIZE")) { var = os::GetEnvVar("HSA_PCS_MAX_DEVICE_BUFFER_SIZE"); char* end;