Skip to main content

4 posts tagged with "cuda"

Related to CUDA

View All Tags

Rust running on every GPU

· 19 min read
Christian Legnitto
Rust GPU and Rust CUDA maintainer

I've built a demo of a single shared Rust codebase that runs on every major GPU platform:

  • CUDA for NVIDIA GPUs
  • SPIR-V for Vulkan-compatible GPUs from AMD, Intel, NVIDIA, and Android devices
  • Metal for Apple devices
  • DirectX 12 for Windows
  • WebGPU for browsers
  • CPU fallback for non-GPU systems

The same compute logic runs on all targets, written entirely in regular Rust. No shader or kernel languages are used.

Rebooting the Rust CUDA project

· 4 min read
Christian Legnitto
Rust GPU and Rust CUDA maintainer

We're excited to announce the reboot of the Rust CUDA project. Rust CUDA enables you to write and run CUDA kernels in Rust, executing directly on NVIDIA GPUs using NVVM IR.

Our immediate focus is on modernizing the project and integrating with other GPU-related efforts in the Rust ecosystem.

To follow along or get involved, check out the rust-cuda repo on GitHub.