Expand description
Crate-private FFI thunks around cudarc::cusolver::sys.
cudarc 0.19’s safe layer covers handle construction (DnHandle,
SpHandle) but leaves every dense / sparse / batched factorisation
behind raw extern "C" declarations under cusolver::sys::lib. The
SolverScalar trait lifts the per-prefix C entry points
(Sgeqrf, Dgeqrf, …) onto a uniform Rust surface so the actor’s
per-op handlers can be written generically over T: SolverSupported.
All unsafe FFI is contained inside this module — handlers in
kernel::solver::* only see the typed wrappers and a single
status_to_result adapter.
Constants§
Traits§
- Solver
Scalar - Per-dtype dispatcher to the cuSOLVER
S/D/C/Zentry points.
Functions§
- status_
to_ result - Translate a
cusolverStatus_tinto our typed error.