OpenCL always reminds me of &quot;implementing the for keyword as a class in Java&quot;... Yes, you can get pretty much the same semantics, but the code gets awfully unwieldy.<p>Compare to the CUDA alternative where a lot of this is implemented as extensions to C++ in nVidia&#x27;s nvcc <a href="http:&#x2F;&#x2F;www.computer-graphics.se&#x2F;hello-world-for-cuda.html" rel="nofollow">http:&#x2F;&#x2F;www.computer-graphics.se&#x2F;hello-world-for-cuda.html</a>