flâneur

The cuda-oxide Book — cuda-oxide

nvlabs.github.io · 434 words · saved by 1 readers

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. Note This book assumes familiarity with the Rust programming language, including ownership, traits, and generics. Later chapters on async GPU programming also assume working knowledge of async/.await and runtimes like tokio. For a refresher, see The Rust Programming Language, Rust by Example, or the Async Book. The v0.1.0 release is an early-stage alpha: expect bugs, incomplete features, and API breakage as we work to improve it. We hope you’ll try it and help shape its direction by sharing feedback on your experience. Build and run with cargo oxide run vecadd upon installing the prerequisites. The same launch-contract pattern is what cargo oxide new scaffolds; see Writing Your First Kernel. Note #[cuda_module] embeds the generated device artifact into the host binary a

cuda-oxide is a 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. Note This book assumes familiarity with the Rust programming language, including ownership, traits, and generics. Later chapters on async GPU programming also assume working knowledge of async/.await and runtimes like tokio. For a refresher, see The Rust Programming Language, Rust by Example, or the Async Book. Project Status# The v0.1.0 release is an early-stage alpha: expect bugs,…

saved by

related reading