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 9237a2dffe..1c4e6bd5a5 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/util/flag.h +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/util/flag.h @@ -61,7 +61,7 @@ class Flag { check_flat_scratch_ = (var == "1") ? true : false; var = os::GetEnvVar("HSA_ENABLE_VM_FAULT_MESSAGE"); - enable_vm_fault_message_ = (var == "1") ? true : false; + enable_vm_fault_message_ = (var == "0") ? false : true; var = os::GetEnvVar("HSA_ENABLE_INTERRUPT"); enable_interrupt_ = (var == "0") ? false : true;