Skip to content
IJK

CUDA Rust: Two Tracks for Writing GPU Kernels

By IJK ·

What NVIDIA's post says a Rust GPU kernel is, how the two Rust tracks match CUDA's and what the Tile programming model is.

What a Rust GPU kernel is

GPU kernels can be written in Rust, compiled natively to PTX, rather than a wrapper around code from somewhere else. [1]

The two tracks

There are two tracks to use Rust, matching the two tracks CUDA itself has. [2]

includesGPU kernels written in Rustcompiled natively to PTXTwo tracks to use Rustmatching the two tracks CUDA itself hasTile programming modelalso available in C++ and Python
How do the Rust tracks match CUDA's?

What Tile is

Tile is a newer programming model, which is also available in C++ and Python. [3]

Sources

  1. The NVIDIA source says: GPU kernels can be written in Rust, compiled natively to PTX, rather than a wrapper around code from somewhere else. Introducing CUDA Rust
  2. The NVIDIA source says: There are two tracks to use Rust, matching the two tracks CUDA itself has. Introducing CUDA Rust
  3. The NVIDIA source says: Tile is a newer programming model, which is also available in C++ and Python. Introducing CUDA Rust

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • cuda
  • rust
  • gpu
  • nvidia