[Beignet] [PATCH 4/4] Implement clEnqueueMarker and clEnqueueBarrier.

2013-09-17 Thread Yang Rong
Add some event info to cl_command_queue. One is non-complete user events, used to block marker event and barrier. After these events become CL_COMPLETE, the events blocked by these events also become CL_COMPLETE, so marker event will also set to CL_COMPLETE. If there is no user events, need wait la

Re: [Beignet] [PATCH 4/4] Implement clEnqueueMarker and clEnqueueBarrier.

2013-09-17 Thread Zhigang Gong
LGTM, pushed, thanks. On Tue, Sep 17, 2013 at 04:10:01PM +0800, Yang Rong wrote: > Add some event info to cl_command_queue. > One is non-complete user events, used to block marker event and barrier. > After these events become CL_COMPLETE, the events blocked by these events also > become CL_COMPLE