On 03/06/2013 05:27 PM, David Minor wrote: > Why does clReleaseEvent call release clReleaseCommandQueue? Doesn't this > mean that all events must be held until the end of the execution? > Is this correct? This looks like it would make a streaming application > impossible. Nvidia/Apple and Intel all allow events to be released > during an execution as far as I can tell (by my own testing).
There's a reference counter in the CommandQueue object. It just decrements that. So, it's the other way around: it prevents freeing the CQ until there are no more objects referring to it. -- Pekka ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ pocl-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pocl-devel
