chelsea0x3b/cudarc
Safe rust wrapper around CUDA toolkit observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 97
- Release rhythm 97
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 8
- age_days: 1447
- days_rel: 22
- days_push: 21
- n_releases_24m: 44
Adoption not part of the score
1213 stars · 166 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
cudarc is a safe, minimal Rust wrapper around the NVIDIA CUDA toolkit, exposing the CUDA driver API plus libraries such as NVRTC, cuBLAS/cuBLASLt, cuDNN, cuRAND, NCCL, cuSPARSE, cuSOLVER, cuFFT, cuFILE, and CUPTI. It supports dynamic loading (no build-time CUDA required), dynamic linking, and static linking, with cargo feature flags to select CUDA 11.4-13.3, cuDNN 8.9-9.21, and NCCL 2.22-2.30 versions.
Use cases
- run custom CUDA kernels from Rust
- call cuBLAS or cuDNN from a Rust program
- safely allocate and transfer GPU memory in Rust
- compile CUDA kernels at runtime with NVRTC
- do multi-GPU communication with NCCL in Rust
- GPU-accelerate a Rust application on NVIDIA hardware
- use CUDA without a CUDA toolkit installed at build time
- write deep learning primitives in Rust on top of cuDNN
When to choose
- you are writing Rust that needs NVIDIA GPU acceleration
- you want safe, idiomatic handling of CUDA contexts, streams, and device memory
- you need FFI bindings to cuBLAS, cuDNN, cuRAND, or NCCL without writing unsafe C interop yourself
- you want to build without a local CUDA toolkit via the dynamic-loading feature
- you need to pin bindings to a specific CUDA, cuDNN, or NCCL version
When to avoid
- you target AMD or Intel GPUs rather than NVIDIA CUDA
- you want a high-level tensor library with autodiff rather than raw CUDA bindings
- you are not working in Rust
- you need exhaustive coverage of every CUDA API, since cudarc intentionally exposes a minimal subset
Facets
library · maturity active
gpu-computing gpu-computing machine-learning developer-tools rust windows cuda cuda-bindings nvidia cublas cudnn nccl nvrtc curand cusparse cufft cupti ffi-bindings safe-rust gpgpu multi-gpu dynamic-loading gpu linux
2 sources
- readme: https://github.com/chelsea0x3b/cudarc · fetched 2026-08-28 · 8887c672fcce
- registry_crates: https://crates.io/api/v1/crates/cudarc · fetched 2026-08-29 · c309aa2375ee
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| chelsea0x3b/cudarc | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="chelsea0x3b/cudarc")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem