Login  Register

Passing java objects as struct to opencl code

Posted by Abimael on Dec 20, 2011; 2:08pm
URL: https://forum.jogamp.org/Passing-java-objects-as-struct-to-opencl-code-tp3601253.html

Hello

   I want to pass a parameter as a struct to the kernel.
   I saw some examples in C++ and opencl , but I do not know how to do that in Java/JOCL as there is no struct on Java (only objects, that are not the same).
 
   thank you very much

  And.. have Merry Christmas ...