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