diff --git a/rocclr/runtime/device/gpu/gpudevice.cpp b/rocclr/runtime/device/gpu/gpudevice.cpp index fa95eda983..a512375433 100644 --- a/rocclr/runtime/device/gpu/gpudevice.cpp +++ b/rocclr/runtime/device/gpu/gpudevice.cpp @@ -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: