Login  Register

Re: Passing array of arrays to OpenCL via JOCL?

Posted by Giovanni Idili on May 10, 2011; 3:38pm
URL: https://forum.jogamp.org/Passing-array-of-arrays-to-OpenCL-via-JOCL-tp2922911p2923525.html

Thanks a lot for this Michael,

I think I will pass every buffer as a kernel argument as I need to pass down only a few variable, so I won't bother calculating offsets.

As a matter of interest though, would you be able to point me to an usage example of CLSubBuffers and how they are declared in the __kernel functions?

Best Regards,

Giovanni