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
This commit is contained in:
foreman
2018-12-20 12:37:44 -05:00
والد 636d9275c4
کامیت 6f129de758
@@ -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_;