Add some functions to support event in intel gpgpu.
authorYang Rong <rong.r.yang@intel.com>
Mon, 12 Aug 2013 08:07:18 +0000 (16:07 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Mon, 12 Aug 2013 08:35:59 +0000 (16:35 +0800)
commitc2f82462300c61b314146e980c8ff583662b17bc
tree44e5b2979495720f4fb0b7dcbaf1548681bb2f2b
parentb2eca34b8ba3318ffae6dac40e824ea0f35d25ec
Add some functions to support event in intel gpgpu.

Now runtime prepare command batch first, if can't flush this command
immediately, call cl_gpgpu_event_pending to append the command to event,
when the command batch's wait events completed, than call cl_gpgpu_event_resume
to flush.

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