Fix ldexp fp64 build error
authorJan Vesely <jan.vesely@rutgers.edu>
Sat, 9 May 2015 22:30:59 +0000 (22:30 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Sat, 9 May 2015 22:30:59 +0000 (22:30 +0000)
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 236939

libclc/generic/lib/math/ldexp.cl

index f247003..9be3127 100644 (file)
@@ -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