[Beignet] [PATCH] GBE/libocl: fix the wrong prototype of scalar native_powr.

He Junyan junyan.he at inbox.com
Wed Sep 10 02:20:46 PDT 2014


It's my typo, thanks for your fixing


On 三, 2014-09-10 at 16:23 +0800, Zhigang Gong wrote:
> Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
> ---
>  backend/src/libocl/tmpl/ocl_math.tmpl.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/backend/src/libocl/tmpl/ocl_math.tmpl.h b/backend/src/libocl/tmpl/ocl_math.tmpl.h
> index 7a7d12f..1d860b7 100644
> --- a/backend/src/libocl/tmpl/ocl_math.tmpl.h
> +++ b/backend/src/libocl/tmpl/ocl_math.tmpl.h
> @@ -109,7 +109,7 @@ OVERLOADABLE float native_exp10(float x);
>  OVERLOADABLE float native_log(float x);
>  OVERLOADABLE float native_log2(float x);
>  OVERLOADABLE float native_log10(float x);
> -OVERLOADABLE float native_powr(float x);
> +OVERLOADABLE float native_powr(float x, float y);
>  OVERLOADABLE float native_recip(float x);
>  OVERLOADABLE float native_rsqrt(float x);
>  OVERLOADABLE float native_sin(float x);





More information about the Beignet mailing list