3 ms·
> Can anyone explain how CUDA compares to OpenCL, both in terms of flexibility/power and openness? When it comes to the basics, CUDA and OpenCL are pretty much
by exDM69 14y ago
> Can anyone explain how CUDA compares to OpenCL, both in terms of flexibility/power and openness?
When it comes to the basics, CUDA and OpenCL are pretty much identical to each other for most parts. There are subtle differences in the API.
When you go deeper, there are a few more differences which mostly come from the hardware. Programming two different devices with OpenCL can be very different if you want to write efficient code. The difference between programming for different pieces of hardware is much larger than the difference between the API's used.
As a single vendor effort, CUDA moves forwards faster and has support for more of the latest GPU features. But it only runs on hardware from that single vendor.