[libclc] 15/21: math: Add native_rsqrt builtin function

Andreas Boll aboll-guest at moszumanska.debian.org
Mon Feb 13 13:58:31 UTC 2017


This is an automated email from the git hooks/post-receive script.

aboll-guest pushed a commit to branch master
in repository libclc.

commit 0593ed91ca9d86e37923878154f7c5bcfb469578
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date:   Thu Feb 9 18:39:26 2017 +0000

    math: Add native_rsqrt builtin function
    
    Trivial define to rsqrt.
    
    Patch by Vedran Miletić <vedran at miletic.net>
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@294608 91177308-0d34-0410-b5e6-96231b3b80d8
---
 generic/include/clc/clc.h               | 1 +
 generic/include/clc/math/native_rsqrt.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/generic/include/clc/clc.h b/generic/include/clc/clc.h
index 024bf27..e2f0f4f 100644
--- a/generic/include/clc/clc.h
+++ b/generic/include/clc/clc.h
@@ -102,6 +102,7 @@
 #include <clc/math/native_powr.h>
 #include <clc/math/native_sin.h>
 #include <clc/math/native_sqrt.h>
+#include <clc/math/native_rsqrt.h>
 #include <clc/math/rsqrt.h>
 
 /* 6.11.2.1 Floating-point macros */
diff --git a/generic/include/clc/math/native_rsqrt.h b/generic/include/clc/math/native_rsqrt.h
new file mode 100644
index 0000000..eabc425
--- /dev/null
+++ b/generic/include/clc/math/native_rsqrt.h
@@ -0,0 +1 @@
+#define native_rsqrt rsqrt

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list