backend: add double version of acos

Graphics / Beignet - rander [intel.com] - 17 April 2017 04:08 EDT

copy it from fdlibm and pass the conformance tests after refined the copyright has been declared at the beginning of the file

7d52c16 backend: add double version of acos
backend/src/libocl/include/ocl_float.h | 3 +-
backend/src/libocl/tmpl/ocl_math_common.tmpl.cl | 157 ++++++++++++++++++++++++
backend/src/libocl/tmpl/ocl_math_common.tmpl.h | 2 +
3 files changed, 161 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share