P4 to Git Change 1523996 by wchau@wchau_OCL_boltzmann on 2018/03/07 16:08:29

SWDEV-146839 - OCL 2.0 WF - Contractions test encounters failure on Raven
	- root cause: subnormals should be enabled for Raven (gfx902)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#32 edit
This commit is contained in:
foreman
2018-03-07 16:14:25 -05:00
parent a7d777f1fb
commit c65580a1f6
+2 -3
View File
@@ -119,10 +119,9 @@ bool Settings::create(bool fullProfile, int gfxipVersion) {
#if defined(WITH_LIGHTNING_COMPILER)
enableExtension(ClAmdAssemblyProgram);
switch (gfxipVersion) {
case 900:
// enable subnormals for gfx900 and later
if (gfxipVersion >= 900) {
singleFpDenorm_ = true;
break;
}
#endif // WITH_LIGHTNING_COMPILER