3 ms·
OpenCL always reminds me of "implementing the for keyword as a class in Java"... Yes, you can get pretty much the same semantics, but the code gets awfully unwi
by anon4 11y ago
OpenCL always reminds me of "implementing the for keyword as a class in Java"... Yes, you can get pretty much the same semantics, but the code gets awfully unwieldy.
Compare to the CUDA alternative where a lot of this is implemented as extensions to C++ in nVidia's nvcc http://www.computer-graphics.se/hello-world-for-cuda.html http://www.computer-graphics.se/hello-world-for-cuda.html