| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| cuda-oxide v0.1.0 source code.tar.gz | 2026-05-07 | 3.7 MB | |
| cuda-oxide v0.1.0 source code.zip | 2026-05-07 | 4.2 MB | |
| README.md | 2026-05-07 | 1.5 kB | |
| Totals: 3 Items | 7.9 MB | 0 | |
cuda-oxide v0.1.0
Initial open-source release of cuda-oxide.
cuda-oxide is an experimental rustc backend for compiling CUDA GPU kernels written in pure Rust to PTX. It supports single-source Rust GPU programs where host and device code live together and are built through cargo oxide.
This release includes:
- A custom rustc codegen backend for compiling
#[kernel]functions to CUDA PTX - Single-source host + device compilation with
cargo oxide build/cargo oxide run - Device-side Rust abstractions for indexing, shared memory, barriers, atomics, warp and cluster operations, TMA, and Blackwell-era intrinsics
- Host-side CUDA runtime crates for memory management, kernel launching, and async GPU execution
- A Rust-native compiler pipeline: Rust -> MIR -> Pliron IR -> LLVM IR -> PTX
- Example kernels covering vector add, generics, closures, atomics, clusters, async execution, MathDx interop, and GEMM
This is an early alpha release. Expect bugs, incomplete features, and API changes as the project evolves.
Quick start:
:::bash
cargo install --git https://github.com/NVlabs/cuda-oxide.git cargo-oxide
cargo oxide doctor
cargo oxide run vecadd
Requirements include Linux, CUDA Toolkit 12.x+, Rust nightly with rust-src and rustc-dev, LLVM 21+ with NVPTX support, and Clang/libclang headers for host CUDA bindings.
For more details, see the project README and the cuda-oxide book: https://nvlabs.github.io/cuda-oxide/