OK, so the ref count is getting screwed up somehow, I'm seeing my queue being 
released while I'm still using it. The problem could be in my code, although it 
works with Intel/Nvidia ocl, I'll look into it.

-----Original Message-----
From: Pekka Jääskeläinen [mailto:[email protected]] 
Sent: Wednesday, March 06, 2013 6:07 PM
To: [email protected]
Subject: Re: [pocl-devel] clReleaseEvent question

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

------------------------------------------------------------------------------
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

Reply via email to