[Beignet] [PATCH] GBE/libocl: add missing vector builtin definition for fma.

Song, Ruiling ruiling.song at intel.com
Mon Sep 15 19:53:08 PDT 2014


LGTM

-----Original Message-----
From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of Zhigang Gong
Sent: Tuesday, September 16, 2014 9:57 AM
To: Gong, Zhigang
Cc: beignet at lists.freedesktop.org
Subject: Re: [Beignet] [PATCH] GBE/libocl: add missing vector builtin definition for fma.

Ping for review.

On Fri, Sep 12, 2014 at 05:18:16PM +0800, Zhigang Gong wrote:
> Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
> ---
>  backend/src/libocl/script/ocl_math.def | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/backend/src/libocl/script/ocl_math.def 
> b/backend/src/libocl/script/ocl_math.def
> index ff1d5d6..4baded4 100644
> --- a/backend/src/libocl/script/ocl_math.def
> +++ b/backend/src/libocl/script/ocl_math.def
> @@ -26,7 +26,7 @@ gentype fabs (gentype)  gentype fdim (gentype x, 
> gentype y)  gentype floor (gentype)  # XXX we use madd for fma 
> -#gentype fma (gentype a, gentype b, gentype c)
> +gentype fma (gentype a, gentype b, gentype c)
>  gentype fmax (gentype x, gentype y)
>  gentypef fmax (gentypef x, float y)
>  gentyped fmax (gentyped x, double y)
> --
> 1.8.3.2
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
_______________________________________________
Beignet mailing list
Beignet at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list