[Libclc-dev] [PATCH 1/1] ldexp: Fix double precision function return type
Jan Vesely via Libclc-dev
libclc-dev at lists.llvm.org
Sat Oct 7 23:14:55 PDT 2017
Fixes ~1200 external calls from nvtpx library.
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---
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
--
2.13.6
More information about the Libclc-dev
mailing list