P4 to Git Change 1308933 by gandryey@gera-w8 on 2016/08/30 18:42:21

SWDEV-86035 - Enable PAL for GFX9 by default
	- GPU_ENABLE_PAL=0 will force GSL backend for GFX9

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#550 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#256 edit
Αυτή η υποβολή περιλαμβάνεται σε:
foreman committed 2016-08-30 19:13:14 -04:00
1 γονέας bac3dbc7a8
υποβολή e0f15c2613
3 files changed
+16 -6

No files matched your search

@@ -851,6 +851,10 @@ Device::create(CALuint ordinal, CALuint numOfDevices)
calTarget_ = getAttribs().target;
hwInfo_ = &DeviceInfo[calTarget_];
if ((GPU_ENABLE_PAL == 2) && (calTarget_ > CAL_TARGET_STONEY)) {
return false;
}
// Creates device settings
settings_ = new gpu::Settings();
gpu::Settings* gpuSettings = reinterpret_cast<gpu::Settings*>(settings_);