P4 to Git Change 1063414 by gandryey@gera-dev-w7 on 2014/08/06 11:30:27

ECR #304775 - Add OPENCL_VERSION key to force OCL1.2

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#453 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#274 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#209 edit


[ROCm/clr commit: e416c5bbf0]
This commit is contained in:
foreman
2014-08-06 11:38:31 -04:00
vanhempi d17beb4720
commit 6aa4d6e13f
3 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
@@ -744,7 +744,8 @@ Device::create(CALuint ordinal)
appProfile_.init();
// Open GSL device
if (!open(ordinal, appProfile_.enableHighPerformanceState(), appProfile_.reportAsOCL12Device())) {
if (!open(ordinal, appProfile_.enableHighPerformanceState(),
(appProfile_.reportAsOCL12Device() || (OPENCL_VERSION < 200)))) {
return false;
}