add the support of clGetProgramBuildInfo and clGetProgramInfo
authorJunyan He <junyan.he@linux.intel.com>
Tue, 18 Jun 2013 08:44:49 +0000 (16:44 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 19 Jun 2013 05:14:45 +0000 (13:14 +0800)
commit2cacc799f7ef1dff006c97360298e4f6e847d1e9
tree58091ef0ad6f2413993f5d858f8641538aa7398e
parentbad83fb38939de67ba8ff7504dce1c33e1a879ac
add the support of clGetProgramBuildInfo and clGetProgramInfo

For clGetProgramBuildInfo,
CL_BUILD_IN_PROGRESS not support now
and CL_PROGRAM_BUILD_LOG need do add the info collection
logic in backend and not support too, just return null
string now.
clGetProgramInfo all are fully supported.

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: Ruiling Song <ruiling.song@intel.com>
src/cl_api.c
src/cl_program.c
src/cl_program.h