summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuiling Song <ruiling.song@intel.com>2014-06-23 16:34:55 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-06-23 16:53:44 +0800
commit53634e3d88f455140b8e814faf065c5805895aaf (patch)
tree55f74665d1b72bcf43e25e4f1784d155394a2cc9
parent5f084e7ee190e49a82ff162a4cdfcaee68c37a18 (diff)
downloadbeignet-53634e3d88f455140b8e814faf065c5805895aaf.tar.gz
GBE: declare correct prototype for fastpath_rootn
Signed-off-by: Ruiling Song <ruiling.song@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
-rw-r--r--backend/src/builtin_vector_proto.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/builtin_vector_proto.def b/backend/src/builtin_vector_proto.def
index 103e6612..18d23caf 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)