Hello,
please make sure that you are using the latest jocl build.
If it is still not working: attach the output of
com.jogamp.opencl.util.CLInfo.
thanks,
michael
On 05/25/2011 05:35 PM, barno [via jogamp] wrote:
> Hi,
>
> I am trying to get started with a very simple program using waiting lists.
> Basically I do:
>
> CLEventList computed = new CLEventList(1);
> queue.put1DRangeKernel(kernel, 0, 1, 1, computed);
> queue.putReadBuffer(clResultBuffer, true, computed, null);
>
> When running that code I get an CL_INVALID_EVENT_WAIT_LIST error. It seems
> to work when I change it to:
>
> CLEventList computed = new CLEventList(1);
> queue.put1DRangeKernel(kernel, 0, 1, 1, computed);
> CLEventList waitingList = new CLEventList(computed.getEvent(0));
> queue.putReadBuffer(clResultBuffer, true, waitingList, null);
>
> But why? That looks like an unnecessary step to me.
>
> Thanks!
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion below:
>
http://forum.jogamp.org/CL-INVALID-EVENT-WAIT-LIST-tp2984736p2984736.html> To start a new topic under jogamp, email
[hidden email]
> To unsubscribe from jogamp, visit
http://michael-bien.com/