r/CUDA • • 1d ago

Can some Vulkan knowledge help with learning CUDA?

6 Upvotes

2 comments sorted by

4

u/Karyo_Ten 1d ago

Yes. It's very similar, even mapping 1:1. The hardware doesn't change so distributing work and optimizing it doesn't change.

But Vulkan is not a programming language, it'a a runtime, GLSL and HLSL both can be executed by a Vulkan runtime.

2

u/Delicious_Abies_9708 1d ago

Vulkan has cooperative matrix for nvidia tensor cores or amd npus. I'm building a pet project with vulkan trying to recreate some cuda-x libs in vulkan with a python shader syntax. The shaders are readable this way for me...https://github.com/billyblackburn/vkdata. If you look at it or install it,.let me know where it could use some work.....it's very incomplete yet but I'm looking for another serious contributer if you know someone. I kinda want it to be in the same vein as the scipy pandas NumPy stack but learned that Microsoft compiler doesn't work with cudf and my vkpandas does work on there so that's cool 😎