2 ms·
CUDA is tricky, it's not FOSS but it's also not completely "closed" source either it's just a restricted license. Many of the core libraries are not exactly op
by dogma1138 9y ago
CUDA is tricky, it's not FOSS but it's also not completely "closed" source either it's just a restricted license.
Many of the core libraries are not exactly open but these are primitives.
If say cuDNN would become open source today there won't be any benefit from it, you won't be able to make it run faster than what NVIDIA has already achieved.
As for the vendor lock well this is tricky, AMD also tried to vendor lock their initial compute APIs they've fallen back on OpenCL because it wasn't working.
ROCm isn't exactly vendor neutral while it can run on nearly any OpenCL compatible hardware it's tailored and optimized for AMD GPUs which means it would run like utter garbage on anything else.
It also supports interoperability with CUDA via the HIP compiler.
And in all honest at least for scientific computing OpenACC (https://www.openacc.org/ https://www.openacc.org/) might make this argument irrelevant at least as far as general use code protability goes.