P4 to Git Change 1174322 by vpykhtin@vpykhtin-HSA on 2015/07/27 13:59:35
ECR #333753 - HSA HLC: enable passing -cl-denorms-are-zero down to llc in the compiler lib (enabling denormalzied floats) Testing: smoke, presubmit, reallyquick 2.0 Reviewed by Brian Sumner Affected files ... ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#128 edit ... //depot/stg/opencl/drivers/opencl/library/ocml/src/opts.cl#2 edit ... //depot/stg/opencl/drivers/opencl/tests/hsa/src/ocl/features/flush-denorms.cl#1 add ... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_features.tlst#22 edit
This commit is contained in:
@@ -646,9 +646,7 @@ amdcl::OCLLinker::link(llvm::Module* input, std::vector<llvm::Module*> &libs)
|
||||
setUseNative(Options()->oVariables->OptUseNative);
|
||||
setDenormsAreZero(Options()->oVariables->DenormsAreZero);
|
||||
#if !defined(LEGACY_COMPLIB)
|
||||
// TODO: Enable the following line to pass DenormsAreZero option to the HLC
|
||||
// when ready
|
||||
// HLC_FlushF32Denorms = Options()->oVariables->DenormsAreZero;
|
||||
HLC_FlushF32Denorms = Options()->oVariables->DenormsAreZero;
|
||||
#endif
|
||||
setUniformWorkGroupSize(Options()->oVariables->UniformWorkGroupSize);
|
||||
setHaveFastFMA32(chip == "Cypress"
|
||||
|
||||
Reference in New Issue
Block a user