[libclc] 26/291: Add native_powr builtin. Patch by Tom Stellard!
Andreas Beckmann
anbe at moszumanska.debian.org
Tue Sep 8 10:53:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
anbe pushed a commit to branch master
in repository libclc.
commit 5c2bfa665589a07301860bb2da3912ce5a8323db
Author: Peter Collingbourne <peter at pcc.me.uk>
Date: Mon Oct 8 03:39:05 2012 +0000
Add native_powr builtin. Patch by Tom Stellard!
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@165385 91177308-0d34-0410-b5e6-96231b3b80d8
---
generic/include/clc/clc.h | 1 +
generic/include/clc/math/native_powr.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/generic/include/clc/clc.h b/generic/include/clc/clc.h
index 565b505..fc41f76 100644
--- a/generic/include/clc/clc.h
+++ b/generic/include/clc/clc.h
@@ -51,6 +51,7 @@
#include <clc/math/native_exp2.h>
#include <clc/math/native_log.h>
#include <clc/math/native_log2.h>
+#include <clc/math/native_powr.h>
#include <clc/math/native_sin.h>
#include <clc/math/native_sqrt.h>
#include <clc/math/rsqrt.h>
diff --git a/generic/include/clc/math/native_powr.h b/generic/include/clc/math/native_powr.h
new file mode 100644
index 0000000..e8a37d9
--- /dev/null
+++ b/generic/include/clc/math/native_powr.h
@@ -0,0 +1 @@
+#define native_powr pow
--
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