Rust-GPU/rust-cuda
Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
What it solves
It provides a way to write and execute high-performance GPU code entirely in the Rust programming language, removing the need to use other languages typically associated with CUDA development.
How it works
The project creates an ecosystem of libraries and tools that allow developers to target NVIDIA GPUs using Rust, enabling the execution of extremely fast code directly on the hardware.
Who it’s for
Developers who want to leverage the performance of CUDA GPUs while using the safety and features of the Rust language.
Highlights
- High-performance GPU execution
- Fully written in Rust
- Ecosystem of libraries and tools for CUDA development
Related
- Project
Rust-GPU/rust-gpuRust‑GPU lets you write GPU shaders in Rust, compiling them to SPIR‑V for Vulkan and similar APIs. It offers Rust’s safety and tooling for graphics programming, started by Embark Studios, and is currently early‑stage but usable for simple shaders.
- Dispatch
- Project
chelsea0x3b/cudarcA minimal and safe Rust API wrapper for the NVIDIA CUDA toolkit, providing ergonomic abstractions for GPU memory management and kernel execution.
- Project
NVlabs/cutile-rscuTile Rust (`cutile‑rs`) is an early‑stage Rust library that lets you write memory‑safe, data‑race‑free GPU kernels using a tile‑based model. Kernels are JIT‑compiled to NVIDIA’s CUDA Tile IR and can be launched synchronously, asynchronously, or as CUDA graphs. The project targets modern NVIDIA GPUs (Ampere‑Ada‑Hopper‑Blackwell) and is already used by Rust ML frameworks like Candle and mistral.rs for fast quantized kernels. Development has moved to the NVIDIA/cuda‑rust monorepo; the repo is archived but still provides examples, tests, and a Nix flake for quick experimentation.