diff --git a/rocclr/runtime/device/gpu/gpudevice.cpp b/rocclr/runtime/device/gpu/gpudevice.cpp index ac8a9f0858..004fc66b58 100644 --- a/rocclr/runtime/device/gpu/gpudevice.cpp +++ b/rocclr/runtime/device/gpu/gpudevice.cpp @@ -749,7 +749,7 @@ Device::create(CALuint ordinal, CALuint numOfDevices) // Open GSL device if (!open(ordinal, appProfile_.enableHighPerformanceState(), - appProfile_.reportAsOCL12Device())) { + appProfile_.reportAsOCL12Device() || (OPENCL_VERSION < 200))) { return false; }