P4 to Git Change 1455369 by asalmanp@asalmanp-ocl-stg on 2017/09/05 16:02:34

SWDEV-79278 - [OCL] Dont add gfx9+ devices into offline devices list in orca path as they will be added in pal.
	ReviewboardURL = http://ocltc.amd.com/reviews/r/13396/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#569 edit
This commit is contained in:
foreman
2017-09-05 16:19:02 -04:00
parent 57cfc57a45
commit 121ffcc6ec
@@ -116,6 +116,12 @@ bool NullDevice::create(CALtarget target) {
assert((target >= CAL_TARGET_TAHITI) && (target != CAL_TARGET_SCRAPPER) &&
(target != CAL_TARGET_DEVASTATOR));
if ((GPU_ENABLE_PAL == 2) &&
(calTarget_ == CAL_TARGET_GREENLAND || calTarget_ == CAL_TARGET_RAVEN ||
calTarget_ >= CAL_TARGET_VEGA12)) {
return false;
}
// Force double if it could be supported
switch (target) {
case CAL_TARGET_PITCAIRN: