[Libclc-dev] [PATCH 1/1] Fix ldexp fp64 build error

Jan Vesely jan.vesely at rutgers.edu
Sat May 9 09:18:27 PDT 2015


Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---
 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
 
-- 
2.1.0





More information about the Libclc-dev mailing list