Monday, October 8th 2018

VUDA is a CUDA-Like Programming Interface for GPU Compute on Vulkan (Open-Source)

GitHub developer jgbit has started an open-source project called VUDA, which takes inspiration from NVIDIA's CUDA API to bring an easily accessible GPU compute interface to the open-source world. VUDA is implemented as wrapper on top of the highly popular next-gen graphics API Vulkan, which provides low-level access to hardware. VUDA comes as header-only C++ library, which means it's compatible with all platforms that have a C++ compiler and that support Vulkan.

While the project is still young, its potential is enormous, especially due to the open source nature (using the MIT license). The page on GitHub comes with a (very basic) sample, that could be a good start for using the library.
Source: VUDA on GitHub
Add your own comment

33 Comments on VUDA is a CUDA-Like Programming Interface for GPU Compute on Vulkan (Open-Source)

#26
lexluthermiester
notbBut the argument was not about how it works. It was about VUDA replacing CUDA (making easy ports possible). That is not true. The code is different. End of story. :)
But how difficult would it be to convert/port over?
notbAs a client, you can't download Android and use it on your PC (well... you can, but it's pointless).
www.android-x86.org/
www.phoenixos.com/download_x86
Solidly stable, supporting tons of hardware and very useful. You were saying?
Posted on Reply
#27
medi01
R0H1TYou remember Mantle, how cool that was? It's called Vulkan now & is in your PC, probably. If we didn't encourage free alternatives, we'd never have Linux or Android.
I remember Mantle.

I also remember that it wasn't a 2 day project with 0 releases by a single dude on github, when I got excited about it.
Posted on Reply
#28
Flanker
So basically using Vulkan's compute shader but wrap it up to make it look like CUDA?
Posted on Reply
#29
FordGT90Concept
"I go fast!1!11!1!"
notbBut the argument was not about how it works. It was about VUDA replacing CUDA (making easy ports possible). That is not true. The code is different. End of story. :)
vuda class calls instead of cuda class calls, of course it is different in that regard, but performance matters. If, for example, VUDA performs only 10% slower than CUDA, VUDA code could be widely implemented in software with no specific CUDA path because it's not worth debugging. VUDA could get fairly wide spread use.
lexluthermiesterwww.android-x86.org/
www.phoenixos.com/download_x86
Solidly stable, supporting tons of hardware and very useful. You were saying?
I play some Android companion games through BlueStacks Android emulator on my computer (don't have an Android phone). Never ran into issues other than not being able to "touch" in two places like smart phones support.
FlankerSo basically using Vulkan's compute shader but wrap it up to make it look like CUDA?
Yup. CUDA-like code executed through Vulkan.
Posted on Reply
#30
notb
FordGT90Conceptvuda class calls instead of cuda class calls, of course it is different in that regard, but performance matters. If, for example, VUDA performs only 10% slower than CUDA, VUDA code could be widely implemented in software with no specific CUDA path because it's not worth debugging. VUDA could get fairly wide spread use.
But why? What makes VUDA so special that you couldn't do with OpenCL already?

And BTW: 10% performance gap is very optimistic. :-D
Posted on Reply
#31
FordGT90Concept
"I go fast!1!11!1!"
notbBut why? What makes VUDA so special that you couldn't do with OpenCL already?

And BTW: 10% performance gap is very optimistic. :-D
CUDA developers/existing code ported to/started on VUDA so it's hardware agnostic.
Posted on Reply
#33
Aquinus
Resident Wat-man
Targeting Vulkan devices is probably a smart move. A lot of GPUs support it at this point and it's not like you're installing additional SDKs or anything to work with it. Personally I think this is a very interesting and ambitious idea.
Posted on Reply
Add your own comment
Aug 16th, 2024 12:50 EDT change timezone

New Forum Posts

Popular Reviews

Controversial News Posts