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

Zhigang Gong zhigang.gong at intel.com
Wed Sep 10 01:23:27 PDT 2014


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);
-- 
1.8.3.2



More information about the Beignet mailing list