4 ms·
> Doesn't it take, like, 100 lines of code to call a kernel in OpenCL? Compared to Nvidia's 1? If you are using a single line of code to execute a CUDA kernel
by Kon-Peki 3y ago
> Doesn't it take, like, 100 lines of code to call a kernel in OpenCL? Compared to Nvidia's 1?
If you are using a single line of code to execute a CUDA kernel then you are accepting a huge amount of default behavior.
I mean, this is really, really nice and you get some pretty good performance. You're going to outgrow that single line of code very quickly. I think you're beyond it by the time you get done with Nvidia tutorial #2.