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_);