rocsolver_spotri_batched Interface Reference

rocsolver_spotri_batched Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_spotri_batched Interface Reference
hipfort_rocsolver::rocsolver_spotri_batched Interface Reference

The POTRI_BATCHED functions invert a batch of symmetric/Hermitian positive definite matrices \(A_l\). More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_spotri_batched_ (handle, uplo, n, a, lda, myinfo, batch_count)
 

Detailed Description

The POTRI_BATCHED functions invert a batch of symmetric/Hermitian positive definite matrices \(A_l\).

The inverse of matrix \(A_l\) in the batch is computed as

\[ \begin{array}{cl} A_l^{-1} = U_l^{-1} {U_l^{-1}}^H & \: \text{if uplo is upper, or}\\% A_l^{-1} = {L_l^{-1}}^H L_l^{-1} & \: \text{if uplo is lower.} \end{array} \]

where \(U_l\) or \(L_l\) is the triangular factor of the Cholesky factorization of \(A_l\) returned by POTRF_BATCHED.

Parameters
[in]handle- rocblas_handle.
[in]uplo- rocblas_fill. Specifies whether the factorization is upper or lower triangular. If uplo indicates lower (or upper), then the upper (or lower) part of A_l is not used.
[in]n- rocblas_int. n >= 0. The number of rows and columns of matrix A_l.
[in,out]A- array of pointers to type. Each pointer points to an array on the GPU of dimension lda*n. On entry, the factor L_l or U_l of the Cholesky factorization of A_l returned by POTRF_BATCHED. On exit, the inverses of A_l if info[l] = 0.
[in]lda- rocblas_int. lda >= n. Specifies the leading dimension of A_l.
[out]myInfo- pointer to rocblas_int. Array of batch_count integers on the GPU. If info[l] = 0, successful exit for inversion of A_l. If info[l] = i > 0, A_l is singular. L_l[i,i] or U_l[i,i] is zero.
[in]batch_count- rocblas_int. batch_count >= 0. Number of matrices in the batch.

Member Function/Subroutine Documentation

◆ rocsolver_spotri_batched_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotri_batched::rocsolver_spotri_batched_ ( type(c_ptr), value  handle,
integer(kind(rocblas_fill_upper)), value  uplo,
integer(c_int), value  n,
type(c_ptr), value  a,
integer(c_int), value  lda,
type(c_ptr), value  myinfo,
integer(c_int), value  batch_count 
)

The documentation for this interface was generated from the following file: