Login  Register

Re: Cannot build jocl-demos from Eclipse

Posted by Wade Walker on Jan 26, 2017; 3:40am
URL: https://forum.jogamp.org/Cannot-build-jocl-demos-from-Eclipse-tp4037592p4037605.html

A "blocking" call is one that doesn't return until the work is done. A non-blocking call returns immediately, then you have to check later to see if the work is done (or call some other blocking function to wait for it). So when exactly the work starts depends on how you've called into OpenCL. A blocking call to clEnqueueNDRangeKernel() or similar should start work immediately.

The OpenCL execution model is pretty complex, don't worry if you don't understand it right away :) It may take some study to master. The best thing is to do what you're doing already, just work through examples and figure them out.