Implement cbrt builtin
authorTom Stellard <thomas.stellard@amd.com>
Fri, 22 Jul 2016 23:45:15 +0000 (23:45 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 22 Jul 2016 23:45:15 +0000 (23:45 +0000)
commitd835b3f1af15e20bd35c460396e4af95a614889c
tree286e28fdead228e426f2f60943d15419b59571fa
parent9cb070f96a8a9af5f513ffba0a8eed362623f216
Implement cbrt builtin

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

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