NVIDIA announced CUDA Rust, introducing two open-source projects from NVlabs—cuda-oxide and cutile-rs—designed to bring native Rust support to GPU kernel development. While Rust has previously been used for launching kernels and building system infrastructure, the new projects allow developers to write kernel bodies directly in Rust, leveraging its ownership model to eliminate aliasing bugs at compile time.

The cutile-rs toolchain targets the CUDA Tile programming model and is already integrated into production tools like Hugging Face’s Grout inference engine on stable Rust. Meanwhile, cuda-oxide provides a custom rustc backend for the low-level SIMT programming model, routing Rust code through Pliron IR and LLVM down to PTX for granular thread control.

Why it matters

  • Enables GPU kernel developers to eliminate common runtime memory bugs using Rust’s compile-time safety checks.

  • Accelerates performance optimizations for inference engines and low-level AI infrastructure without sacrificing memory safety.

  • Expands the Rust ecosystem deeper into hardware acceleration and native CUDA kernel development.

Source: marktechpost.com