Image missing.
Rust running on every GPU

created: July 26, 2025, 10:08 a.m. | updated: July 26, 2025, 11:27 p.m.

Rust CUDA: Compiles Rust code to NVVM IR, enabling execution on NVIDIA GPUs through the CUDA runtime. As a maintainer of Rust GPU and Rust CUDA and a contributor to naga , I have been working to bring them closer together. This not only ensures my GPU code looks identical to my CPU code, it makes my GPU code consistent with the entire Rust ecosystem. Finally, Rust GPU and Rust CUDA evolved independently and diverged in their APIs. For example, accessing thread indices is done through a function call in Rust CUDA ( thread::thread_idx_x() ), while in Rust GPU it requires annotating entrypoint arguments.

13 hours, 22 minutes ago: Hacker News