[libclc] 262/291: Fix ldexp fp64 build error
Andreas Beckmann
anbe at moszumanska.debian.org
Tue Sep 8 10:53:57 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 8354ce148a16101a9f588058fcb76d1b2e4ac9e6
Author: Jan Vesely <jan.vesely at rutgers.edu>
Date: Sat May 9 22:30:59 2015 +0000
Fix ldexp fp64 build error
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Aaron Watry <awatry at gmail.com>
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@236939 91177308-0d34-0410-b5e6-96231b3b80d8
---
generic/lib/math/ldexp.cl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generic/lib/math/ldexp.cl b/generic/lib/math/ldexp.cl
index f247003..9be3127 100644
--- a/generic/lib/math/ldexp.cl
+++ b/generic/lib/math/ldexp.cl
@@ -32,7 +32,7 @@ _CLC_DEFINE_BINARY_BUILTIN(float, ldexp, __clc_ldexp, float, int)
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
-_CLC_DEFINE_BINARY_BUILTIN(float, ldexp, __clc_ldexp, float, int)
+_CLC_DEFINE_BINARY_BUILTIN(double, ldexp, __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