From 02a04ecb2c1960271daea839391780e6911f8a5d Mon Sep 17 00:00:00 2001 From: foreman Date: Thu, 1 Sep 2016 17:23:35 -0400 Subject: [PATCH] P4 to Git Change 1310000 by asalmanp@asalmanp-ocl-stg-pal on 2016/09/01 17:13:37 SWDEV-79278 - [OpenCL][PAL] force Vega10(gfx9)(aka: Greenland) to use PAL backend ReviewBoardURL = http://ocltc.amd.com/reviews/r/11279/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#551 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 e6eaf5decf..5d72bcf6e6 100644 --- a/rocclr/runtime/device/gpu/gpudevice.cpp +++ b/rocclr/runtime/device/gpu/gpudevice.cpp @@ -851,7 +851,7 @@ Device::create(CALuint ordinal, CALuint numOfDevices) calTarget_ = getAttribs().target; hwInfo_ = &DeviceInfo[calTarget_]; - if ((GPU_ENABLE_PAL == 2) && (calTarget_ > CAL_TARGET_STONEY)) { + if ((GPU_ENABLE_PAL == 2) && (calTarget_ == CAL_TARGET_GREENLAND)) { return false; }