commit | 47408353a355c7e2db7b277b05f928ffd65e2827 | [log] [tgz] |
---|---|---|
author | Jan Vesely <jan.vesely@rutgers.edu> | Tue May 15 04:22:43 2018 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Sun Aug 30 16:12:39 2020 -0700 |
tree | dbb5a2a53347d8860857d7b0f3c324dca33478cb | |
parent | 3a22f21878cd34ef9e7bc5a540a63e7fd24458c0 [diff] |
rootn: Use denormal path only It's OK to either flush to 0 or return denormal result if the device does not support denormals. See sec 7.2 and 7.5.3 of OCL specs Use 0.0f explicitly intead of relying on GPU to flush it. Fixes CTS on carrizo and turks Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Acked-by: Aaron Watry <awatry@gmail.com> Tested-by: Aaron Watry <awatry@gmail.com> llvm-svn: 332324 GitOrigin-RevId: 58fdb3b09aae005c594ea66bfb85b395d7193636