Fix a clEnqueueBarrierWithWaitList event status bug.
authorYang Rong <rong.r.yang@intel.com>
Mon, 16 Jun 2014 08:20:08 +0000 (16:20 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Mon, 16 Jun 2014 07:05:52 +0000 (15:05 +0800)
commitfe400a9efd8dff62d304933915d63d63725ad104
treeeb80210ca5819282e3250d4e21410d8b2de6acc4
parent9ff466f9ce4b8130b4d2d8ba6236e14d4e1b444a
Fix a clEnqueueBarrierWithWaitList event status bug.

Event's status should be CL_COMPLETE if all wait events are complete in the wait list, in function
clEnqueueBarrierWithWaitList and clEnqueueMarkerWithWaitList.

v2: revert delete the event change in v1.
Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
src/cl_event.c