7 releases
Uses new Rust 2024
| new 0.0.1-alpha.13 | May 11, 2026 |
|---|---|
| 0.0.1-alpha.7 | May 7, 2026 |
| 0.0.1-alpha.5 | Apr 29, 2026 |
| 0.0.1-alpha.3 | Apr 28, 2026 |
| 0.0.1-alpha.2 | Apr 24, 2026 |
#114 in #nvidia
Used in 2 crates
(via baracuda-cusolver)
720KB
17K
SLoC
baracuda-cusolver-sys
Raw FFI bindings + dynamic loader for NVIDIA cuSOLVER — dense and
sparse linear-system solvers on the GPU. Covers cuSolverDn (dense),
cuSolverSp (sparse), cuSolverRf (refactor), and cuSolverMg
(multi-GPU dense).
Symbols resolve lazily via libloading;
no link-time dependency on libcusolver.so / cusolver64_*.dll /
cusolverMg64_*.dll.
Most users want baracuda-cusolver — that crate exposes typed
handles for each sub-API plus generic-over-scalar safe wrappers for the
common operations (LU, QR, Cholesky, SVD, eigensolvers).
What's exposed
- Dense (
cuSolverDn): LU (getrf+getrs), QR (geqrf+orgqrormqr), Cholesky (potrf+potrs+potri), SVD,syevd,syevj,gesvdj, batched-syevj/ batched-gesvdj,gels, plus the generic 64-bitXgetrf/Xgetrs/Xgeqrf/Xpotrf/Xpotrs/Xsyevdfamily inS/D/C/Z.
- Sparse (
cuSolverSp):csrlsvchol,csrlsvqr. - Refactor (
cuSolverRf): full Rf API. - Multi-GPU (
cuSolverMg):getrf,potrf,syevd.
Part of the baracuda workspace.
License
Dual MIT / Apache-2.0.
Dependencies
~230–710KB
~15K SLoC