From 4db3ce3e25a1da32422e2dda09eee15b57c21730 Mon Sep 17 00:00:00 2001
From: foreman
Date: Mon, 5 Dec 2016 18:14:43 -0500
Subject: [PATCH] P4 to Git Change 1349651 by todli@todli-win-opencl-kv1 on
2016/12/05 18:05:57
SWDEV-107271 - [OpenCL][GFXIP9 Bring up] force Raven(gfx901) to use PAL backend
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#561 edit
[ROCm/clr commit: f42576b37c6a70e54242b582454e9387cf37a991]
---
projects/clr/rocclr/runtime/device/gpu/gpudevice.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/projects/clr/rocclr/runtime/device/gpu/gpudevice.cpp b/projects/clr/rocclr/runtime/device/gpu/gpudevice.cpp
index a376b1c482..e5c0b942a8 100644
--- a/projects/clr/rocclr/runtime/device/gpu/gpudevice.cpp
+++ b/projects/clr/rocclr/runtime/device/gpu/gpudevice.cpp
@@ -879,7 +879,8 @@ Device::create(CALuint ordinal, CALuint numOfDevices)
calTarget_ = getAttribs().target;
hwInfo_ = &DeviceInfo[calTarget_];
- if ((GPU_ENABLE_PAL == 2) && (calTarget_ == CAL_TARGET_GREENLAND)) {
+ if ((GPU_ENABLE_PAL == 2) && (calTarget_ == CAL_TARGET_GREENLAND
+ || calTarget_ == CAL_TARGET_RAVEN)) {
return false;
}