Thanks for the offer. I bought the openCL Parallel programming Cookbook from Raymond Tay and I am trying to rebuild his examples in jogamp. That takes some time and understanding but it works. One of the reasons is that the JOCL Javadocs are really quite helpful. I finally got some running programs together by borrowing heavily from the HelloWorld program. And there I need some help.
The book and other examples are quite obscure when exactly a program is starting to run. As I have it figured out now it happens when some CLCommandQueue.put<something> is being called. The only explanation I get in the docs is "calls .". The HelloWorld example adds: " // asynchronous write of data to GPU device, followed by blocking read to get the computed results back." and showing sum put<somethings> chained together. I presume that true means blocking? And what is blocking :-)? I would really appreciate some short explanation here.
CLContext.createProgram (String src)
"Creates a program from the given sources, the returned program is not build yet." How can I specify multiple sources? The equivalent in openCL allows to do so and the explanation suggests this is possible too.
Thanks for all your help in advance.