[libclc] r236939 - Fix ldexp fp64 build error
Jan Vesely
jan.vesely at rutgers.edu
Sat May 9 15:30:59 PDT 2015
Author: jvesely
Date: Sat May 9 17:30:59 2015
New Revision: 236939
URL: http://llvm.org/viewvc/llvm-project?rev=236939&view=rev
Log:
Fix ldexp fp64 build error
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Aaron Watry <awatry at gmail.com>
Modified:
libclc/trunk/generic/lib/math/ldexp.cl
Modified: libclc/trunk/generic/lib/math/ldexp.cl
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/lib/math/ldexp.cl?rev=236939&r1=236938&r2=236939&view=diff
==============================================================================
--- libclc/trunk/generic/lib/math/ldexp.cl (original)
+++ libclc/trunk/generic/lib/math/ldexp.cl Sat May 9 17:30:59 2015
@@ -32,7 +32,7 @@ _CLC_DEFINE_BINARY_BUILTIN(float, ldexp,
#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
More information about the cfe-commits
mailing list