GBE/libocl: fix the wrong prototype of scalar native_powr.
authorZhigang Gong <zhigang.gong@intel.com>
Wed, 10 Sep 2014 08:21:12 +0000 (16:21 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Wed, 10 Sep 2014 08:27:02 +0000 (16:27 +0800)
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Reviewed-by: Junyan He <junyan.he@linux.intel.com>
backend/src/libocl/tmpl/ocl_math.tmpl.h

index 7a7d12f..1d860b7 100644 (file)
@@ -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);