summaryrefslogtreecommitdiffstats
path: root/libclc/generic/lib/math/clc_rootn.cl
Commit message (Collapse)AuthorAgeFilesLines
* rootn: Use denormal path onlyJan Vesely2018-05-151-10/+1
| | | | | | | | | | | | 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
* rootn: Port from amd_builtinsJan Vesely2018-01-171-0/+379
Passes piglit on turks and carrizo fp64 passes ctx on carrizo v2: fix formatting check fp32 denormal support at runtime Reviewer: Jeroen Ketema <j.ketema@xs4all.nl> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 322763
OpenPOWER on IntegriCloud