P4 to Git Change 1722999 by gandryey@gera-w8 on 2018/12/20 12:07:51

SWDEV-79445 - OCL generic changes and code clean-up
	- Use dynamic LC switch for denorms

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#64 edit
此提交包含在:
foreman
2018-12-20 12:37:44 -05:00
父節點 636d9275c4
當前提交 6f129de758
+10 -10
查看文件
@@ -439,17 +439,17 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
#endif
}
#if defined(WITH_LIGHTNING_COMPILER) || defined(USE_COMGR_LIBRARY)
switch (palProp.gfxLevel) {
case Pal::GfxIpLevel::GfxIp10_1:
case Pal::GfxIpLevel::GfxIp10:
case Pal::GfxIpLevel::GfxIp9:
singleFpDenorm_ = true;
break;
default:
break;
if (useLightning_) {
switch (palProp.gfxLevel) {
case Pal::GfxIpLevel::GfxIp10_1:
case Pal::GfxIpLevel::GfxIp10:
case Pal::GfxIpLevel::GfxIp9:
singleFpDenorm_ = true;
break;
default:
break;
}
}
#endif // WITH_LIGHTNING_COMPILER
gfx10Hsail_ = gfx10Plus_;