P4 to Git Change 1388753 by smekhano@stas-rampitec-hsa on 2017/03/21 17:11:34
SWDEV-116690 - disable passing of -cl-fast-relaxed-math on ORCA path only This is the w/a for bogus accurancy expectations of flopscl. Testing: flopscl, precheckin Reviewed by Brian Sumner and Evgeny Mankov Affected files ... ... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#40 edit
This commit is contained in:
@@ -769,7 +769,9 @@ processOption(int OptDescTableIx, Options& Opts, const std::string& Value,
|
||||
|
||||
Opts.clcOptions.append(" -D__FAST_RELAXED_MATH__=1");
|
||||
Opts.clangOptions.push_back("-D__FAST_RELAXED_MATH__=1");
|
||||
#if defined(WITH_LIGHTNING_COMPILER) // w/a for SWDEV-116690
|
||||
Opts.clangOptions.push_back("-cl-fast-relaxed-math");
|
||||
#endif
|
||||
|
||||
// fall-through to handle UnsafeMathOpt
|
||||
case OID_UnsafeMathOpt:
|
||||
|
||||
Reference in New Issue
Block a user