Login  Register

Re: Why CLEventList has fixed size?

Posted by Wibowit on Apr 03, 2011; 11:48am
URL: https://forum.jogamp.org/Why-CLEventList-has-fixed-size-tp2705613p2770902.html

Here is the sample:
http://pastebin.com/5PXvDc5V

(Note: I'm using 120 as line width, not standard 80).

It has two kernels: first one writes rot-13 ciphered string to buffer, second one deciphers it and saves to another buffer. Finally the last buffer is transferred back to host and written to standard output.

Unfortunately this example works properly when I delete the event wait list, so we can't observe if OpenCL ignores event wait list or not.

I'll prepare better sample code when you fix the exceptions.