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 于 2016-08-30 19:13:14 -04:00 提交
1 父节点 bac3dbc7a8
当前提交 e0f15c2613
3 个文件已更改
+16 -6

没有与搜索条件相匹配的文件

+4
查看文件
@@ -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_);