diff --git a/rocclr/runtime/device/gpu/gpudevice.cpp b/rocclr/runtime/device/gpu/gpudevice.cpp index 3843fbf5c0..686d4a714b 100644 --- a/rocclr/runtime/device/gpu/gpudevice.cpp +++ b/rocclr/runtime/device/gpu/gpudevice.cpp @@ -838,9 +838,13 @@ bool Device::create(CALuint ordinal, CALuint numOfDevices) { smallMemSystem = true; } + bool noSVM = LP64_SWITCH(true, false) && !GPU_FORCE_OCL20_32BIT; // Open GSL device if (!open(ordinal, appProfile_.enableHighPerformanceState(), - smallMemSystem || appProfile_.reportAsOCL12Device() || (OPENCL_VERSION < 200))) { + (smallMemSystem || + appProfile_.reportAsOCL12Device() || + (OPENCL_VERSION < 200) || + noSVM))) { return false; }