[Libclc-dev] [PATCH 1/1] Fix ldexp fp64 build error
Tom Stellard
tom at stellard.net
Mon May 11 07:49:22 PDT 2015
On Sat, May 09, 2015 at 12:18:27PM -0400, Jan Vesely wrote:
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
LGTM.
> ---
> 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
>
More information about the Libclc-dev
mailing list