summaryrefslogtreecommitdiffstats
path: root/libclc/generic/lib/math/half_cos.cl
diff options
context:
space:
mode:
Diffstat (limited to 'libclc/generic/lib/math/half_cos.cl')
-rw-r--r--libclc/generic/lib/math/half_cos.cl6
1 files changed, 6 insertions, 0 deletions
diff --git a/libclc/generic/lib/math/half_cos.cl b/libclc/generic/lib/math/half_cos.cl
new file mode 100644
index 00000000000..3cad97a9429
--- /dev/null
+++ b/libclc/generic/lib/math/half_cos.cl
@@ -0,0 +1,6 @@
+#include <clc/clc.h>
+
+#define __CLC_FUNC cos
+#define __CLC_BODY <half_unary.inc>
+#define __FLOAT_ONLY
+#include <clc/math/gentype.inc>
OpenPOWER on IntegriCloud