Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In the link provided, the CUDA example only show the compute kernel itself and not the boilerplate required to run it. On the other hand, your OpenCL example only show the boilerplate.

This is the OpenCL kernel from the same repo, for a more fair comparison: https://github.com/rsnemmen/OpenCL-examples/blob/master/mand...

This is much more readable. OpenCL-C the language is fine: it's how you deploy the program on the cards that is complicated with opencl.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: