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

Aaron Watry awatry at gmail.com
Sat May 9 14:41:03 PDT 2015


Yeah, this fixes the build, and the change is pretty clearly correct.

Reviewed-by: Aaron Watry <awatry at gmail.com>

On Sat, May 9, 2015 at 11:18 AM, Jan Vesely <jan.vesely at rutgers.edu> wrote:

> 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
>
>
> _______________________________________________
> Libclc-dev mailing list
> Libclc-dev at pcc.me.uk
> http://www.pcc.me.uk/cgi-bin/mailman/listinfo/libclc-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libclc-dev/attachments/20150509/7e243e93/attachment-0001.html>


More information about the Libclc-dev mailing list