muSOLVER API Reference
This reference covers the muSOLVER APIs supported in MUSA SDK 5.2. It begins with the muSOLVER library families and problem models, then documents the dense solver APIs for QR factorization, LU factorization and solve, orthogonal and unitary matrix generation, and generalized eigenvalue problems.
1. Introduction
1.1 What Is muSOLVER
muSOLVER provides GPU-accelerated solver routines for linear algebra on MUSA devices. The library follows an umbrella model: different API prefixes identify dense solvers, sparse solvers, sparse refactorization routines, and multi-GPU routines.
This umbrella model helps when reading the headers because the prefix identifies the solver family before the function name identifies the operation. This reference introduces the family model first, then narrows the MUSA SDK 5.2 scope to the supported dense solver APIs.
1.2 muSOLVER Components and Problem Models
The API prefix identifies the solver family and the problem class.
| Prefix | Meaning | Typical problem class | MUSA SDK 5.2 API reference coverage |
|---|---|---|---|
musolverDn | Dense solver APIs | Dense factorizations, dense linear solves, and dense eigenvalue problems | Included in this reference |
musolverSp | Sparse solver APIs | Sparse linear systems and sparse least-squares problems | Concept only; no API entries |
musolverRf | Sparse refactorization APIs | Repeated sparse solves with a shared sparsity pattern | Concept only; no API entries |
musolverMg | Multi-GPU solver APIs | Distributed dense matrix operations | Concept only; no API entries |
1.2.1 Dense Solver APIs (musolverDn)
Dn means dense. The musolverDn APIs operate on dense matrices stored in device memory. Dense solver routines commonly target linear systems in which all matrix entries are represented explicitly:
The dense APIs in this reference include QR factorization, LU factorization and solve, generated orthogonal or unitary matrices, and generalized symmetric or Hermitian eigenvalue problems. The corresponding problem models include:
Here, A and B are dense matrices, X is the solution or eigenvector matrix, Q is an orthogonal or unitary matrix, P is a permutation matrix, and L and U are triangular factors.