[Beignet] [PATCH 2/2] GBE: declare correct prototype for fastpath_rootn

Ruiling Song ruiling.song at intel.com
Mon Jun 23 01:34:55 PDT 2014


Signed-off-by: Ruiling Song <ruiling.song at intel.com>
---
 backend/src/builtin_vector_proto.def |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/src/builtin_vector_proto.def b/backend/src/builtin_vector_proto.def
index 103e661..18d23ca 100644
--- a/backend/src/builtin_vector_proto.def
+++ b/backend/src/builtin_vector_proto.def
@@ -158,7 +158,7 @@ gentype __gen_ocl_internal_fastpath_log10 (gentype x)
 gentype __gen_ocl_internal_fastpath_log1p (gentype x)
 gentype __gen_ocl_internal_fastpath_logb (gentype x)
 gentype __gen_ocl_internal_fastpath_remainder (gentype x, gentype y)
-gentype __gen_ocl_internal_fastpath_rootn (gentype x, int n)
+floatn __gen_ocl_internal_fastpath_rootn (floatn x, intn k)
 gentype __gen_ocl_internal_fastpath_sin (gentype x)
 gentype __gen_ocl_internal_fastpath_sincos (gentype x, __global gentype *cosval)
 gentype __gen_ocl_internal_fastpath_sincos (gentype x, __local gentype *cosval)
-- 
1.7.10.4



More information about the Beignet mailing list