Expand description
GPU-ready iterative sparse linear solvers.
Implements Conjugate Gradient (CG) for symmetric positive definite systems and BiCGSTAB for general non-symmetric systems. Both use a BLAS-friendly memory layout and an optional Jacobi (diagonal) preconditioner. The CPU computation paths mirror what GPU compute shaders would execute.
Structs§
- GpuSolver
Config - Configuration for GPU iterative solvers.
- Solver
Result - Result returned by iterative solvers.
Enums§
- GpuSolver
Backend - GPU compute backend used by the solvers.
Functions§
- bicgstab_
csr - Solve a general (possibly non-symmetric) system
A * x = busing Bi-Conjugate Gradient Stabilised (BiCGSTAB). - cg_csr
- Solve the symmetric positive definite system
A * x = busing the Preconditioned Conjugate Gradient method.