Split the thounsands autogenerated code out from ocl_stdlib header file.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Fri, 19 Jul 2013 06:04:48 +0000 (14:04 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 24 Jul 2013 03:51:05 +0000 (11:51 +0800)
commita6f93dce83253cdf086cd547ad21032cd374a13d
tree3c1040995739e9ccbae4900cfa9afbca066183cd
parentb7f29a35f22333eaa778638d0930df0461619bf8
Split the thounsands autogenerated code out from ocl_stdlib header file.

This patch split the three auto generated code segments from the
huge ocl_stdlib.h. And we rename ocl_stdlib.h to ocl_stdlib.tmpl.h.

The final ocl_stdlib.h will be generated at runtime. It will
insert the ocl_as.h/ocl_convert.h/ocl_vector (which is also
autogenerated at runtime) into ocl_stdlib.tmpl.h's proper positon.

After this patch, we will get a maintainable header file size.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Reviewed-by: He Junyan <junyan.he@inbox.com>
Reviewed-by: Simon Richter <Simon.Richter@hogyros.de>
backend/src/.gitignore
backend/src/CMakeLists.txt
backend/src/builtin_vector_proto.def
backend/src/gen_builtin_vector.py
backend/src/ocl_as.h [new file with mode: 0644]
backend/src/ocl_convert.h [new file with mode: 0644]
backend/src/ocl_stdlib.h [deleted file]
backend/src/ocl_stdlib.tmpl.h [new file with mode: 0644]
backend/src/update_as.sh
backend/src/update_blob_ocl_header.py [new file with mode: 0755]
backend/src/update_convert.sh