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

He Junyan junyan.he at inbox.com
Mon Sep 15 20:15:37 PDT 2014


LGTM, thanks

On 二, 2014-09-16 at 09:57 +0800, Zhigang Gong wrote:
> 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