From 1e6de0365244c1c749222eeb7b693e798d3e0a34 Mon Sep 17 00:00:00 2001
From: foreman
Date: Fri, 13 Apr 2018 11:43:02 -0400
Subject: [PATCH] P4 to Git Change 1540998 by gandryey@gera-lnx-rcf on
2018/04/13 11:34:46
SWDEV-150303 - [CQE OCL][Vega10][PAL][QR][DTB-Blocker] Maya 2018 fails to load OpenCL device on Vega10 Lnx-Pro; Faulty CL#1528486
- Temporarly disable SVM under Linux, until a proper fix for VA reservation will be developed
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#83 edit
---
rocclr/runtime/device/pal/paldevice.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rocclr/runtime/device/pal/paldevice.cpp b/rocclr/runtime/device/pal/paldevice.cpp
index b523216b9c..7d25d22ae6 100644
--- a/rocclr/runtime/device/pal/paldevice.cpp
+++ b/rocclr/runtime/device/pal/paldevice.cpp
@@ -1156,7 +1156,7 @@ bool Device::init() {
info.flags.force32BitVaSpace = true;
info.flags.enableSvmMode = false;
#else
- info.flags.enableSvmMode = true;
+ info.flags.enableSvmMode = !IS_LINUX;
#endif
#endif
info.pSettingsPath = "OCL";