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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user