sktop.org
> Subject: Re: [Beignet] [PATCH v2] GetEventProfilingInfo could query all event
> status.
>
>
> The spec only says if event is not in CL_COMPLETE status, it will get
> CL_PROFILING_INFO_NOT_AVAILABLE. It doesn't mean a clFinish() should
> update all events status. Ac
ntProfilingInfo could query all event
> status.
>
>
>
> > -Original Message-
> > From: Zhigang Gong [mailto:zhigang.g...@linux.intel.com]
> > Sent: Wednesday, August 5, 2015 12:49
> > To: Yang, Rong R; Luo, Xionghu
> > Cc: beignet@lists.freedesktop.
> -Original Message-
> From: Zhigang Gong [mailto:zhigang.g...@linux.intel.com]
> Sent: Wednesday, August 5, 2015 12:49
> To: Yang, Rong R; Luo, Xionghu
> Cc: beignet@lists.freedesktop.org
> Subject: RE: [Beignet] [PATCH v2] GetEventProfilingInfo could query all event
sktop.org
> Subject: Re: [Beignet] [PATCH v2] GetEventProfilingInfo could query all event
> status.
>
> The root cause of beignet using on-demand manner is no point to update
> event's status. If there have this point, I think there is no side effect to
> update
> the status
sue.
>
> Thanks,
> Zhigang Gong.
>
> > -Original Message-
> > From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf
> > Of Yang, Rong R
> > Sent: Tuesday, August 4, 2015 3:31 PM
> > To: Zhigang Gong; Luo, Xionghu
> > Cc
n...@lists.freedesktop.org] On Behalf Of
> Yang, Rong R
> Sent: Tuesday, August 4, 2015 3:31 PM
> To: Zhigang Gong; Luo, Xionghu
> Cc: beignet@lists.freedesktop.org
> Subject: Re: [Beignet] [PATCH v2] GetEventProfilingInfo could query all event
> status.
>
> I
FILING_INFO_NOT_AVAILABLE.
> -Original Message-
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> Zhigang Gong
> Sent: Tuesday, August 4, 2015 13:28
> To: Luo, Xionghu
> Cc: beignet@lists.freedesktop.org
> Subject: Re: [Beignet] [PATCH v
The spec only says if event is not in CL_COMPLETE status, it will
get CL_PROFILING_INFO_NOT_AVAILABLE. It doesn't mean a clFinish()
should update all events status. According to the spec, clFinish()
only need to make sure the previously enqueued task has been processed
and completed.
Form my poin
From: Luo Xionghu
this could fix the shoc project reported CL_PROFILING_INFO_NOT_AVAILABLE
issue.
https://github.com/vetter/shoc/issues/47
v2: per spec, the GetEventProfilingInfo need return
CL_PROFILING_INFO_NOT_AVAILABLE if the event is not CL_COMPLETE, so the
event should be updated in clFinis