Implement fract builtin
authorTom Stellard <thomas.stellard@amd.com>
Thu, 23 Apr 2015 18:50:14 +0000 (18:50 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 23 Apr 2015 18:50:14 +0000 (18:50 +0000)
commit9447de37a9e8720cdf097037c648390b798a0116
tree1d093fc4064d65be25564814e10deb3076de0b36
parent26856434d27b599b09a149da287f06e98a07c797
Implement fract builtin

This implementation was ported from the AMD builtin library
and has been tested with piglit, OpenCV, and the ocl conformance tests.

llvm-svn: 235620
libclc/generic/include/clc/clc.h
libclc/generic/include/clc/math/fract.h [new file with mode: 0644]
libclc/generic/include/clc/math/fract.inc [new file with mode: 0644]
libclc/generic/lib/SOURCES
libclc/generic/lib/math/fract.cl [new file with mode: 0644]
libclc/generic/lib/math/fract.inc [new file with mode: 0644]