[Beignet] [PATCH] GBE/libocl: Added one missing prototype fma().

Yang, Rong R rong.r.yang at intel.com
Wed Sep 10 23:20:25 PDT 2014


LGTM, thanks.

> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Zhigang Gong
> Sent: Thursday, September 11, 2014 10:35 AM
> To: beignet at lists.freedesktop.org
> Cc: Gong, Zhigang
> Subject: [Beignet] [PATCH] GBE/libocl: Added one missing prototype fma().
> 
> Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
> ---
>  backend/src/libocl/tmpl/ocl_math.tmpl.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/backend/src/libocl/tmpl/ocl_math.tmpl.h
> b/backend/src/libocl/tmpl/ocl_math.tmpl.h
> index 1d860b7..a86576a 100644
> --- a/backend/src/libocl/tmpl/ocl_math.tmpl.h
> +++ b/backend/src/libocl/tmpl/ocl_math.tmpl.h
> @@ -61,6 +61,7 @@ OVERLOADABLE float exp10(float x);  OVERLOADABLE
> float expm1(float x);  OVERLOADABLE float fmin(float a, float b);
> OVERLOADABLE float fmax(float a, float b);
> +OVERLOADABLE float fma(float a, float b, float c);
>  OVERLOADABLE float fdim(float x, float y);  OVERLOADABLE float
> maxmag(float x, float y);  OVERLOADABLE float minmag(float x, float y);
> --
> 1.8.3.2
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list