[Libclc-dev] [PATCH 1/1] ldexp: Fix double precision function return type

Jeroen Ketema via Libclc-dev libclc-dev at lists.llvm.org
Sat Oct 7 23:50:31 PDT 2017


LGTM.

Jeroen

> On 8 Oct 2017, at 08:14, Jan Vesely via Libclc-dev <libclc-dev at lists.llvm.org> wrote:
> 
> 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
> 
> _______________________________________________
> Libclc-dev mailing list
> Libclc-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/libclc-dev



More information about the Libclc-dev mailing list