Refine the the error handling in function cl_command_queue_ND_range_gen7.
authorYang Rong <rong.r.yang@intel.com>
Fri, 17 Oct 2014 03:04:16 +0000 (11:04 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Fri, 17 Oct 2014 04:27:49 +0000 (12:27 +0800)
commitac00eb3d479d63e8fe46c9709d97f63551e77160
treeaefa39724cc1df6c0e5d7805667db4daf192f188
parentcfe4bc351e46e61c0b3997af6e94def975261928
Refine the the error handling in function cl_command_queue_ND_range_gen7.

Return error code when work group error, and remove printf and exit(-1) when internal error..

Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
src/cl_command_queue_gen7.c