Reply – CLWork integration example?
Your Name
or Cancel
In Reply To
CLWork integration example?
— by Giovanni Idili Giovanni Idili
Following some issues I talked about in a previous post [ ] I am trying to integrate the CLWork utility in my code, so that I don't have to manually take care fo LWS vs GWS optimizations.

I am looking at the sample code on your blog post here [ ] but as I try to integrate those changes it is not fully clear to me the context in which that code fits.

In particular I am not sure if I have to change the way I create the buffers etc. since in order to figure out the buffer size I am doing all sorts of rounding up etc. and it is my understanding that the CLWork utility will get rid of that kind of prestidigitation :)

Also, you mention in the blog post you took that code from unit tests, it would be helpful if you could point me to that too!

P.S. btw, it would be neat if you could integrate CLWork usage in the Hello JOCL example [ ] or at least give a hint of how that example can be changed to use CLWork if it's not asking too much :)