Insert ocl_common_defines to the cl source file.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Sat, 29 Dec 2012 12:42:07 +0000 (20:42 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 10 Apr 2013 06:51:31 +0000 (14:51 +0800)
commit31c1c7847314e2bb371dd927bee1f0a49103360c
tree1a7ae524145aac4bc92cba10110f1b4291a7d199
parentf029d89b1c7ce4c71a418908402440b4963ca52d
Insert ocl_common_defines to the cl source file.

Remove the duplicate definitions in the ocl_stdlib.h. As we
may need to refer these two macros, we put it to the ocl_common_defins.h
which could be included by host application.
The two macros are as below:

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Reviewed-by: Lu Guanqun <guanqun.lu@intel.com>
backend/src/backend/program.cpp
backend/src/ocl_stdlib.h