From 4bff7e6b9186fa3a20ed94ead2c5bd06c01c44a0 Mon Sep 17 00:00:00 2001
From: foreman
Date: Wed, 23 May 2018 12:19:25 -0400
Subject: [PATCH] P4 to Git Change 1558428 by vsytchen@vsytchen-win10 on
2018/05/23 10:55:37
SWDEV-153051 - Maya 2018 unable to load OpenCL device on Vega 10 Lnx-Pro
1. Enable SVM on Lnx-Pro
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#89 edit
---
rocclr/runtime/device/pal/paldevice.cpp | 4 ----
1 file changed, 4 deletions(-)
diff --git a/rocclr/runtime/device/pal/paldevice.cpp b/rocclr/runtime/device/pal/paldevice.cpp
index c9ab9e3eec..6947884915 100644
--- a/rocclr/runtime/device/pal/paldevice.cpp
+++ b/rocclr/runtime/device/pal/paldevice.cpp
@@ -1129,11 +1129,7 @@ bool Device::init() {
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";