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
[ROCm/clr commit: 4bff7e6b91]
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user