[libclc] 52/79: amdgpu/half_exp10: Switch implementation to native_exp10

Andreas Boll aboll-guest at moszumanska.debian.org
Mon Mar 19 16:51:00 UTC 2018


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

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

commit 31c715481b931c743c61e78151965382c936a5e1
Author: Jan Vesely <jan.vesely at rutgers.edu>
Date:   Tue Feb 13 22:09:37 2018 +0000

    amdgpu/half_exp10: Switch implementation to native_exp10
    
    Reviewer: Tom Stellard <tstellar at redhat.com>
    Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@325056 91177308-0d34-0410-b5e6-96231b3b80d8
---
 amdgpu/lib/SOURCES            | 1 +
 amdgpu/lib/math/half_exp10.cl | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/amdgpu/lib/SOURCES b/amdgpu/lib/SOURCES
index 4979925..29fd280 100644
--- a/amdgpu/lib/SOURCES
+++ b/amdgpu/lib/SOURCES
@@ -2,6 +2,7 @@ math/native_exp.cl
 math/native_log.cl
 math/native_log10.cl
 math/half_exp.cl
+math/half_exp10.cl
 math/half_rsqrt.cl
 math/half_sqrt.cl
 math/nextafter.cl
diff --git a/amdgpu/lib/math/half_exp10.cl b/amdgpu/lib/math/half_exp10.cl
new file mode 100644
index 0000000..31493e6
--- /dev/null
+++ b/amdgpu/lib/math/half_exp10.cl
@@ -0,0 +1,6 @@
+#include <clc/clc.h>
+ 
+#define __CLC_FUNC exp10
+#define __FLOAT_ONLY
+#define __CLC_BODY <half_native_unary.inc>
+#include <clc/math/gentype.inc>

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