←back to thread

Rust CUDA Project

(github.com)
146 points sksxihve | 2 comments | | HN request time: 0s | source
Show context
shmerl ◴[] No.43656833[source]
Looks like a dead end. Why CUDA? There should be some way to use Rust for GPU programming in general fashion, without being tied to Nvidia.
replies(5): >>43656967 #>>43657008 #>>43657034 #>>43658709 #>>43659892 #
pjmlp ◴[] No.43657034[source]
Because others so far have failed to deliver anything worthwhile using, with the same tooling ecosystem as CUDA.
replies(3): >>43657851 #>>43658002 #>>43658007 #
coffeeaddict1 ◴[] No.43657851[source]
While I agree, that CUDA is the best in class API for GPU programming, OpenCL, Vulkan compute shaders and Sycl are alternatives that are usable. I'm for example, using compute shaders for writing GPGPU algorithms that work on Mac, AMD, Intel and Nvidia. It works ok. The debugging experience and ecosystem sucks compared to CUDA, but being able to run the algorithms across platforms is a huge advantage over CUDA.
replies(3): >>43658021 #>>43658035 #>>43658602 #
fragmede ◴[] No.43658035[source]
why do you need to run across all those platforms? what's the cost benefit for doing so?
replies(1): >>43658724 #
coffeeaddict1 ◴[] No.43658724[source]
Well it really depends on the kind of work you're doing. My (non-AI) software allows users to run my algorithms on whatever server-side GPU or local device they have. This is a big advantage IMO.
replies(1): >>43659681 #
fragmede ◴[] No.43659681[source]
interesting! Can you say more about what kind of algorithms your software runs?
replies(1): >>43662446 #
1. coffeeaddict1 ◴[] No.43662446[source]
My work is primarily about the processing of medical images (which usually are large 3D images). Doing this on the GPU, can be up to 10-20x faster.
replies(1): >>43667306 #
2. fragmede ◴[] No.43667306[source]
But what about that wants to be multi-platform instead of picking one an specializing, probably picking up some more optimizations along the way?