hipblassgetribatched Interface Reference#
hipfort_hipblas::hipblassgetribatched Interface Reference
SOLVER API. More...
Public Member Functions | |
| integer(kind(hipblas_status_success)) function | hipblassgetribatched_ (handle, n, a, lda, ipiv, c, ldc, myinfo, batchcount) |
Detailed Description
SOLVER API.
The getriBatched functions computes the inverse \(C_i = A_i^{-1}\) of a batch of general n-by-n matrices \(A_i\).
The inverse is computed by solving the linear system
\[ A_i C_i = I \]
where I is the identity matrix and \(A_i\) is factorized as \(A_i = P_i L_i U_i\), as given by hipblasSgetrfBatched "getrfBatched".
- Supported precisions in rocSOLVER :
s,d,c, andz. - Supported precisions in cuBLAS :
s,d,c, andz.
- Parameters
-
[in] handle - hipblasHandle_t. [in] n - int. n >= 0. The number of rows and columns of all matrices A_i in the batch. [in] A - array of pointers to type. Each pointer points to an array on the GPU of dimension lda*n. The factors L_i and U_i of the factorization A_i = P_i*L_i*U_i returned by hipblasSgetrfBatched"getrfBatched".[in] lda - int. lda >= n. Specifies the leading dimension of matrices A_i. [in] ipiv - pointer to int. Array on the GPU (the size depends on the value of strideP). The pivot indices returned by hipblasSgetrfBatched"getrfBatched". ipiv can be passed in as a nullptr. This will assume that getrfBatched was called without partial pivoting.[out] C - array of pointers to type. Each pointer points to an array on the GPU of dimension ldc*n. If info[i] = 0, the inverse of matrices A_i. Otherwise, undefined. [in] ldc - int. ldc >= n. Specifies the leading dimension of C_i. [out] myInfo - pointer to int. Array of batchCount integers on the GPU. - If info[i] = 0, successful exit for inversion of A_i.
- If info[i] = j > 0, U_i is singular. U_i[j,j] is the first zero pivot.
[in] batchCount - int. batchCount >= 0. Number of matrices in the batch.
Member Function/Subroutine Documentation
◆ hipblassgetribatched_()
| integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblassgetribatched::hipblassgetribatched_ | ( | type(c_ptr), value | handle, |
| integer(c_int), value | n, | ||
| type(c_ptr), value | a, | ||
| integer(c_int), value | lda, | ||
| type(c_ptr), value | ipiv, | ||
| type(c_ptr), value | c, | ||
| integer(c_int), value | ldc, | ||
| type(c_ptr), value | myinfo, | ||
| integer(c_int), value | batchcount | ||
| ) |
The documentation for this interface was generated from the following file: