Tools/NVIDIA/cuda-rust

CUDA Rust

cuda-oxide is an experimental Rust-to-CUDA compiler that lets you write (SIMT) GPU kernels in safe(ish), idiomatic Rust. It compiles standard Rust code directly to PTX: no DSLs, no foreign language bindings, just Rust.

3.8k ★+67/wkemergingRustApache License 2.0 →trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Oct 2026

CUDA Rust is NVIDIA's official toolkit for writing GPU code in Rust, and it's free under Apache 2.0. It grew out of cuda-oxide, an NVIDIA research project, into a bigger package: shared host crates for talking to the GPU driver, plus two ways to write kernels (the small programs that run on the GPU).

cuda-oxide is the hands-on option. A custom compiler backend turns plain Rust into PTX, with threads, shared memory and warp operations exposed the way CUDA C++ programmers expect. cutile-rs is the high-level option: you work on tiles of tensors, NumPy or PyTorch style, and the compiler handles scheduling.

Nothing to host and no paid tier. Solo, small teams, larger teams: all free, and the bill is the GPU. You need Linux, an NVIDIA card and the CUDA toolkit. cutile-rs builds on stable Rust but wants CUDA 13.2 or newer and an Ampere or newer GPU. cuda-oxide needs a pinned nightly Rust and Clang 21.

The catch: NVIDIA calls it an early-stage research project: expect bugs, incomplete features and API breakage. Keep production kernels on CUDA C++. And install cargo-oxide from NVIDIA's git repo, because the cuda-oxide name on crates.io is an unrelated 2021 crate.

Free vs Self-Hosted vs Paid

fully free

Free: Apache License 2.0 for the entire repository. The root LICENSE covers cuda-oxide (the SIMT kernel model), cutile-rs (the Tile kernel model) and the shared host runtime crates (cuda-bindings, cuda-core, cuda-async), and every published crate declares Apache-2.0. No commercial edition, no gated features.

Self-hosted: A local toolchain, so self-hosting is the only mode. Requirements: Linux (tested on Ubuntu 24.04), an NVIDIA GPU, and the CUDA toolkit. cutile-rs runs on stable Rust 1.89+, recommends CUDA 13.3 and does not support GPUs below sm_80 (pre-Ampere). cuda-oxide needs CUDA 13.0+ with an R580+ driver, a pinned nightly Rust managed by cargo oxide, Clang/libclang 21 and an LLVM 21+ llc for Hopper and Blackwell features. cargo-oxide installs from NVIDIA's git repository, not crates.io.

Paid: None. No hosted build service, license key or enterprise tier. The cost is NVIDIA hardware.

Free and Apache 2.0 with nothing gated. The real cost is a recent NVIDIA GPU and tolerance for a research-stage API that still breaks.

What to do by team size

Solo
free; bring Linux and an NVIDIA GPU
Small team
free; fine for experiments and internal kernels
Medium team
free, but treat it as a research bet while the APIs still break
Large team
free; keep production kernels on CUDA C++ until NVIDIA drops the early-stage label
Self-hosting ops:significant

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
80/100 · A
Adoption17/30
Maintenance25/25
Community13/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Community discussions enabledOrganization account (482 public repos)Notable author: 10,534 followersAuthor also built: NVlabs/GatedDeltaNet-2 (209 stars)

License: Apache License 2.0

Use freely. Patent grant included.

Commercial use: ✓ Yes

About

Owner
NVIDIA Research Projects (Organization)
Stars
3,778
Forks
326

Also by NVIDIA Research Projects

Explore Further

More tools in the directory