[libclc] 40/92: ldexp: Fix double precision function return type
Andreas Boll
aboll-guest at moszumanska.debian.org
Mon Nov 6 15:11:59 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 afe1e6b8d950fe94627a200cf210a1e387c0c4d7
Author: Jan Vesely <jan.vesely at rutgers.edu>
Date: Sun Oct 8 06:56:14 2017 +0000
ldexp: Fix double precision function return type
Fixes ~1200 external calls from nvtpx library.
Reviewer: Jeroen Ketema
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@315170 91177308-0d34-0410-b5e6-96231b3b80d8
---
generic/include/math/clc_ldexp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generic/include/math/clc_ldexp.h b/generic/include/math/clc_ldexp.h
index 477dbb2..23ac25e 100644
--- a/generic/include/math/clc_ldexp.h
+++ b/generic/include/math/clc_ldexp.h
@@ -2,5 +2,5 @@ _CLC_DEF _CLC_OVERLOAD float __clc_ldexp(float, int);
#ifdef cl_khr_fp64
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
- _CLC_DEF _CLC_OVERLOAD float __clc_ldexp(double, int);
+ _CLC_DEF _CLC_OVERLOAD double __clc_ldexp(double, int);
#endif
--
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