P4 to Git Change 1174182 by jatang@jatang-opencl-hsa-stg1 on 2015/07/27 10:26:56

ECR #333753 - denorms-are-zero runtime change.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#514 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#196 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#315 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#92 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#236 edit
This commit is contained in:
foreman
2015-07-27 10:49:26 -04:00
parent c57ef1bb5b
commit b96feac3b6
5 changed files with 24 additions and 3 deletions
+3
View File
@@ -2172,6 +2172,9 @@ HSAILProgram::hsailOptions()
if (dev().settings().reportFMA_) {
hsailOptions.append(" -DFP_FAST_FMA=1");
}
if (!dev().settings().singleFpDenorm_) {
hsailOptions.append(" -cl-denorms-are-zero");
}
// Check if the host is 64 bit or 32 bit
LP64_ONLY(hsailOptions.append(" -m64"));