[Mesa-dev] [PATCH 2/2] st/clover: Always flush the queue when waiting on an hard_event

Francisco Jerez currojerez at riseup.net
Thu Oct 3 11:08:26 PDT 2013


Niels Ole Salscheider <niels_ole at salscheider-online.de> writes:

>> Do you have any example of a real world application that relies on this?
>> Or at least some reasonable use case?
>
> The problem is that the queue is only cleared from already signalled events 
> when we flush it. And we might not do this if the user only calls 
> clWaitForEvents once the corresponding event has already been signalled.
>
> I am fine with not flushing the queue, but we should at least make sure that 
> signalled events are freed early enough.

So your application doesn't call clFlush() explicitly nor any blocking
call on that specific event and it stalls forever polling an event with
clGetEventInfo() that never gets flushed to the GPU?  Is that the
problem you've seen?  Is it an open source application?

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131003/fa934e2d/attachment.pgp>


More information about the mesa-dev mailing list