Passes CTS on carrizo
v2: Use full precision implementation
Reviewer: Jeroen Ketema <j.ketema@xs4all.nl>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 322889
#include <clc/math/fmod.h>
#include <clc/math/fract.h>
#include <clc/math/frexp.h>
+#include <clc/math/half_cos.h>
#include <clc/math/half_rsqrt.h>
#include <clc/math/half_sqrt.h>
#include <clc/math/hypot.h>
--- /dev/null
+#define __CLC_BODY <clc/math/unary_decl.inc>
+#define __CLC_FUNCTION half_cos
+#define __FLOAT_ONLY
+
+#include <clc/math/gentype.inc>
+
+#undef __FLOAT_ONLY
+#undef __CLC_BODY
+#undef __CLC_FUNCTION
math/fmod.cl
math/fract.cl
math/frexp.cl
+math/half_cos.cl
math/half_rsqrt.cl
math/half_sqrt.cl
math/hypot.cl
--- /dev/null
+#include <clc/clc.h>
+
+#define __CLC_FUNC cos
+#define __CLC_BODY <half_unary.inc>
+#define __FLOAT_ONLY
+#include <clc/math/gentype.inc>