Added memory space parameters support at the autogeneration script.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Thu, 25 Jul 2013 06:52:26 +0000 (14:52 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Tue, 30 Jul 2013 06:21:53 +0000 (14:21 +0800)
commit2ab37e913efc71285d90fefa34e27c2d3143f982
tree8847e2a2130a9bc424a15be3a6d251ca088cb9a4
parent5ef4d310e2500cf9efddf9fc468c6e8b059a334b
Added memory space parameters support at the autogeneration script.

Enhance the python script to support pointer with memory space
type, such as :

gentype fract (gentype x, __global gentype *iptr)
gentype fract (gentype x, __local gentype *iptr)
gentype fract (gentype x, __private gentype *iptr)

So enable the following function at the builtin function spec file
fract/frexp/modf/nextafter/remquo/sincos.

Remove the duplicate at the ocl_stdlib.tmp.h.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Reviewed-by: He Junyan <junyan.he@inbox.com>
backend/src/builtin_vector_proto.def
backend/src/gen_builtin_vector.py
backend/src/ocl_stdlib.tmpl.h