Ginkgo
Table of Contents
Summary
ginkgo
is a modern C++ library for high performance numerical linear algebra computations. It separates the algorithms from the architecture specific kernels, thereby allowing high performant implementations while not sacrificing software sustainability and maintainability. Currently the following architectures are supported:
- OpenMP for multi-core CPUs.
- CUDA for NVIDIA GPUs.
- HIP for AMD and NVIDIA GPUs.
- DPC++ for Intel GPUs.
- A reference implementation for correctness checks and testing.
See the Installation instructions for more details on how to install it.
Examples are available to experiment with.
Main features
-
SpMV, Sparse Matrix Vector product [Reference]:
- CSR: Compressed sparse row with multiple strategies
- COO: Coordinate format with a state of the art, load balancing strategy.
- ELL: ELL format.
- Sell-P: Sliced ELL-pack format.
- Dense: Dense matrices, also used as vectors.
-
Solvers:
- CG: Conjugate gradient: A solver for Symmetric positive definite (SPD) systems. [Reference]
- Bi-CG: A solver for general systems.
- CGS: An extension of the CG method for non-symmetric systems, faster than Bi-CG and without the need for transpose of the system matrix. [Reference]
- Bi-CGSTAB: A stabilized and cheaper version of the Bi-CG solver. [Reference]
- FCG: A flexible version of the CG solver allowing flexible preconditioning.
- IDR(s): Induced Dimension Reduction. It is one of the most efficient solvers for non-symmetric linear systems and is a short-recurrence solver. [Reference]
- GMRES: The well known generalized minimal residual method for solving generic linear systems. [Reference]
- IR: The iterative refinement method. A base form of the relaxation method.
-
Preconditioners:
- Block-Jacobi preconditioner: A block Jacobi preconditioner with an additional adaptive version that allows storage of the different blocks in different precisions. [Reference]
- Factorization based preconditioners: ILU based preconditioners with different factorization methods, ParILU and ParILUT.
- Approximate inverse based preconditioners: Incomplete sparse approximate inverse preconditioners, ISAI. [Reference]
-
Loggers: Detailed logger facilities to monitor the application. See documentation