diff --git a/rocclr/runtime/device/pal/paldevice.cpp b/rocclr/runtime/device/pal/paldevice.cpp index de97499a80..0bb9066e72 100644 --- a/rocclr/runtime/device/pal/paldevice.cpp +++ b/rocclr/runtime/device/pal/paldevice.cpp @@ -1096,9 +1096,13 @@ bool Device::init() { #ifdef ATI_BITS_32 info.flags.force32BitVaSpace = true; info.flags.enableSvmMode = false; +#else +#if defined(BUILD_HIP) + info.flags.enableSvmMode = true; #else info.flags.enableSvmMode = !IS_LINUX; #endif +#endif #endif info.pSettingsPath = "OCL"; info.maxSvmSize = static_cast(OCL_SET_SVM_SIZE * Mi);