[libclc] 17/92: Add native_recip(x) as ((1)/(x))

Andreas Boll aboll-guest at moszumanska.debian.org
Mon Nov 6 15:11:56 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 ab060bb047e31d7c611e3c4c4813d3ed6a211714
Author: Aaron Watry <awatry at gmail.com>
Date:   Wed Sep 13 01:40:25 2017 +0000

    Add native_recip(x) as ((1)/(x))
    
    Signed-off-by: Aaron Watry <awatry at gmail.com>
    Acked-by: Jan Vesely <jan.vesely at rutgers.edu>
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@313107 91177308-0d34-0410-b5e6-96231b3b80d8
---
 generic/include/clc/clc.h               | 1 +
 generic/include/clc/math/native_recip.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/generic/include/clc/clc.h b/generic/include/clc/clc.h
index a93c8ef..9c0e00c 100644
--- a/generic/include/clc/clc.h
+++ b/generic/include/clc/clc.h
@@ -106,6 +106,7 @@
 #include <clc/math/native_log.h>
 #include <clc/math/native_log2.h>
 #include <clc/math/native_powr.h>
+#include <clc/math/native_recip.h>
 #include <clc/math/native_sin.h>
 #include <clc/math/native_sqrt.h>
 #include <clc/math/native_rsqrt.h>
diff --git a/generic/include/clc/math/native_recip.h b/generic/include/clc/math/native_recip.h
new file mode 100644
index 0000000..5187661
--- /dev/null
+++ b/generic/include/clc/math/native_recip.h
@@ -0,0 +1 @@
+#define native_recip(x) ((1) / (x))

-- 
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