News for hackers. Stuff that matters.
Re:Lisa Su Saved AMD. Now She Wants Nvidia's AI Crown by SuchAnonMuchWow on Friday June 02, 2023 @03:24PM (#36169624)
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.

There are no comments on this comment yet.