From f33c12010a9b34d41fd013a554027a119177a1e8 Mon Sep 17 00:00:00 2001 From: foreman Date: Fri, 12 Sep 2014 18:36:05 -0400 Subject: [PATCH] P4 to Git Change 1076600 by gandryey@gera-dev-w7 on 2014/09/12 18:30:59 ECR #304775 - Correct OPENCL_VERSION key check for staging Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#461 edit --- rocclr/runtime/device/gpu/gpudevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/runtime/device/gpu/gpudevice.cpp b/rocclr/runtime/device/gpu/gpudevice.cpp index 446e64afad..87cd838486 100644 --- a/rocclr/runtime/device/gpu/gpudevice.cpp +++ b/rocclr/runtime/device/gpu/gpudevice.cpp @@ -752,7 +752,7 @@ Device::create(CALuint ordinal, CALuint numOfDevices) appProfile_.init(); // Open GSL device - bool reportOCL12Device = false; + bool reportOCL12Device = (OPENCL_VERSION < 200); reportOCL12Device = ((numOfDevices < 2) || (ordinal == 0)) ? (OPENCL_VERSION < 200) : true; if (!open(ordinal, appProfile_.enableHighPerformanceState(),