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;