NVIDIA/cuda-rust
NVIDIA's CUDA platform for Rust. Host runtime crates plus Tile (cutile-rs) and SIMT (cuda-oxide) kernel programming models in idiomatic Rust.
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
Ranks #2 among Graphics repositories ranked this week, and #10 over the last 30 days; #151 of 182 repositories with measured growth this week (top 83%).
This week's +122 stars is ahead of its 30-day pace of about +69 per week.
5 releases in the last 90 days, the latest 4 days ago, with 87 contributors on GitHub.
Use Cases & Benefits
- Compiles idiomatic Rust code directly to CUDA PTX for writing GPU kernels without DSLs or foreign language bindings.
- Enables single-source Rust development for both host and device code with type-safe abstractions and async GPU execution support.
- Use for developing high-performance GPU kernels in Rust with native closure and generic function support.
- Use for integrating Rust-written CUDA kernels into existing Rust projects with seamless host-device code sharing.
- Use for experimenting with advanced GPU programming features like device FFI, async operations, and Blackwell tensor core optimizations.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Apache 2.0
Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.
Community files
- README: present
- Contributing guide: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
CUDA SIMT kernels can be written natively in pure Rust -- no DSLs, no foreign language bindings -- and made available to the broader Rust community. The project is in an early stage (alpha) and under active development: you should expect bugs, incomplete features, and API breakage as we work to improve it. That said, we hope you'll try it in your own work and help shape its direction by sharing feedback on your experience.
Please see CONTRIBUTING.md if you're interested in contributing to the project.
The above example defines a generic
#[kernel]functionmapthat accepts anyFn(T) -> Tclosure.#[cuda_module]embeds the generated device artifact into the host binary and generates a typedmodule.map::<f32, _>(...)launch method. The closuremove |x| x * factoris captured, scalarized, and passed as kernel parameters automatically.LaunchConfigis intentionally raw data, so using it to launch a kernel is unsafe: the caller must prove that its dimensions and resources match the kernel. Kernels with#[launch_contract(...)]instead use a checkedPreparedLaunchthrough the safe generated method.For composable async GPU work,
stream:disappears,{kernel}_asyncreturns a lazyDeviceOperation, and execution happens when you call.sync()or.await.See the
async_mlpexample for the full async setup. The host runtime (cuda-core,cuda-async) is shared with cutile-rs and published from NVlabs/cutile-rs; the cuda-oxide SIMT surface lives under itssimtmodules.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+716 stars over 55 days across 23 snapshot days; best day +34 on Sep 12.
Forks
358+98
Open issues
228+178
Compared with peers in Graphics
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| heygen-com/hyperframes | 79.6K | +4.1K | 45 | today |
| mrdoob/three.js | 117.7K | +463 | 65 | 6 days ago |
| NVIDIA/cuda-rust | 4.0K | +122 | 60 | 4 days ago |
| bilawalsidhu/gods-eye-view | 61.8K | — | 60 | 3 days ago |
| processing/p5.js | 24.2K | — | 65 | 7 days ago |
| mlc-ai/web-llm | 19.3K | — | 59 | 16 days ago |
| Category median | 61.8K | +2.3K | 60 | — |
Also by NVIDIA
Other repositories from this maintainer that GStars tracks
- Python24.5K stars
SkillSpector
Security scanner for AI agent skills. Detect vulnerabilities, malicious patterns, security risks, prompt injection, data exfiltration, and supply-chain risks in Claude Code, Codex, and MCP skills before you install them.
- TypeScript22.8K stars
NemoClaw
Run agents like Hermes, LangChain Deep Agents, and OpenClaw more securely inside NVIDIA OpenShell with managed inference
- Rust21.2K stars
OpenShell
OpenShell is the safe, private runtime for autonomous AI agents.
- Python18.3K stars
Megatron-LM
Ongoing research training transformer models at scale
- Python15.0K stars
TensorRT-LLM
TensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizations to perform inference efficiently on NVIDIA GPUs. TensorRT LLM also contains components to create Python and C++ runtimes that orchestrate the inference execution in a performant way.
Discover Repositories
Search across tracked repositories by name or description