summaryrefslogtreecommitdiffstats
path: root/libclc/generic/lib/math/fdim.cl
Commit message (Collapse)AuthorAgeFilesLines
* Move cl_khr_fp64 exntension enablement to gentype include listsJan Vesely2018-03-061-4/+0
| | | | | | | | This will make adding cl_khr_fp16 support easier Reviewed-by: Aaron Watry <awatry@gmail.com> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 326816
* math: Add fdim implementationAaron Watry2016-05-061-0/+10
Based on the amd-builtin, but explicitly vectorized for all sizes (not just float4), and includes a vectorized double implementation. Passes piglit (float) tests on pitcairn. Signed-off-by: Aaron Watry <awatry@gmail.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 268708
OpenPOWER on IntegriCloud