From 9623b491e9353a64cbc726fa194d445c24e84691 Mon Sep 17 00:00:00 2001
From: foreman
Date: Tue, 7 Oct 2014 18:30:34 -0400
Subject: [PATCH] P4 to Git Change 1085099 by gandryey@gera-dev-w7 on
2014/10/07 18:11:56
ECR #304775 - Restore OPENCL_VERISON check
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#468 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 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;
}