summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include/math/clc_ldexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'libclc/generic/include/math/clc_ldexp.h')
-rw-r--r--libclc/generic/include/math/clc_ldexp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libclc/generic/include/math/clc_ldexp.h b/libclc/generic/include/math/clc_ldexp.h
new file mode 100644
index 00000000000..477dbb22c3c
--- /dev/null
+++ b/libclc/generic/include/math/clc_ldexp.h
@@ -0,0 +1,6 @@
+_CLC_DEF _CLC_OVERLOAD float __clc_ldexp(float, int);
+
+#ifdef cl_khr_fp64
+ #pragma OPENCL EXTENSION cl_khr_fp64 : enable
+ _CLC_DEF _CLC_OVERLOAD float __clc_ldexp(double, int);
+#endif
OpenPOWER on IntegriCloud