Introduction to hipSOLVER API#
Note
The hipSOLVER library remains in active development. New features are being continuously added, with new functionality documented at each release of the ROCm platform.
The following tables summarize the wrapper functions that are implemented in the regular API for the different supported precisions in latest hipSOLVER release. Most of these functions have a corresponding version in the compatibility APIs, where applicable.
LAPACK auxiliary functions#
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
LAPACK main functions#
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
x |
x |
|
x |
x |
x |
x |
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
x |
x |
|
x |
x |
x |
x |
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
x |
x |
|
x |
x |
x |
x |
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
x |
x |
|
x |
x |
x |
x |
LAPACK-like functions#
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
|||
x |
x |
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
|
x |
x |
x |
x |
Compatibility-only functions#
The following tables summarize the wrapper functions that are provided only in the compatibility APIs. These wrappers are supported in rocSOLVER but either by equivalent functions that use different algorithmic approaches, or by functionality that is not fully exposed in the public API. For these reasons, at present, the corresponding wrappers are not provided in the regular hipSOLVER API.
Partial SVD functions#
Partial SVD has been implemented in rocSOLVER, but at present it does not use an approximate algorithm, nor does it compute the residual norm.
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
x |
x |
|
x |
x |
x |
x |
Sparse matrix routines#
Sparse matrix routines and direct solvers for sparse matrices are in the very earliest stages of development. Due to unsupported backend functionality, there are a number of intricacies and possible performance implications that users will want to be aware of when using these routines. Refer to the hipsolverSp compatibility API for more details and a full listing of supported functions.
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
|||
x |
x |
|||
x |
x |
Refactorization routines#
Refactorization routines and direct solvers for sparse matrices are in the very earliest stages of development. Due to unsupported backend functionality, there are a number of intricacies and possible performance implications that users will want to be aware of when using these routines. Refer to the hipsolverRf compatibility API for more details and a full listing of supported functions.
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
|||
x |
x |
Function |
single |
double |
single complex |
double complex |
---|---|---|---|---|
x |
x |
|||
x |
x |