rocsolver_spotri_strided_batched Interface Reference

rocsolver_spotri_strided_batched Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_spotri_strided_batched Interface Reference
hipfort_rocsolver::rocsolver_spotri_strided_batched Interface Reference

POTRI_STRIDED_BATCHED inverts a batch of symmetric/hermitian positive definite matrices \(A_i\). More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_spotri_strided_batched_ (handle, uplo, n, A, lda, strideA, myInfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_spotri_strided_batched_full_rank (handle, uplo, n, A, lda, strideA, myInfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_spotri_strided_batched_rank_0 (handle, uplo, n, A, lda, strideA, myInfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_spotri_strided_batched_rank_1 (handle, uplo, n, A, lda, strideA, myInfo, batch_count)
 

Detailed Description

POTRI_STRIDED_BATCHED inverts a batch of symmetric/hermitian positive definite matrices \(A_i\).

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

\[ \begin{array}{cl} A_i^{-1} = U_i^{-1} {U_i^{-1}}' & \: \text{if uplo is upper, or}\newline A_i^{-1} = {L_i^{-1}}' L_i^{-1} & \: \text{if uplo is lower.} \end{array} \]

where \(U_i\) or \(L_i\) is the triangular factor of the Cholesky factorization of \(A_i\) returned by POTRF_STRIDED_BATCHED.

Parameters
[in]handlerocblas_handle.
[in]uplorocblas_fill.
Specifies whether the factorization is upper or lower triangular. If uplo indicates lower (or upper), then the upper (or lower) part of A is not used.
[in]nrocblas_int. n >= 0.
The number of rows and columns of matrix A_i.
[in,out]Apointer to type. Array on the GPU (the size depends on the value of strideA).
On entry, the factor L_i or U_i of the Cholesky factorization of A_i returned by POTRF_STRIDED_BATCHED. On exit, the inverses of A_i if info[i] = 0.
[in]ldarocblas_int. lda >= n.
specifies the leading dimension of A_i.
[in]strideArocblas_stride.
Stride from the start of one matrix A_i to the next one A_(i+1). There is no restriction for the value of strideA. Normal use case is strideA >= lda*n.
[out]infopointer to rocblas_int. Array of batch_count integers on the GPU.
If info[i] = 0, successful exit for inversion of A_i. If info[i] = j > 0, A_i is singular. L_i[j,j] or U_i[j,j] is zero.
[in]batch_countrocblas_int. batch_count >= 0.
Number of matrices in the batch.

Member Function/Subroutine Documentation

◆ rocsolver_spotri_strided_batched_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotri_strided_batched::rocsolver_spotri_strided_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,
integer(c_int64_t), value  strideA,
integer(c_int)  myInfo,
integer(c_int), value  batch_count 
)

◆ rocsolver_spotri_strided_batched_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotri_strided_batched::rocsolver_spotri_strided_batched_full_rank ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(c_int)  n,
real(c_float), dimension(:,:), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
integer(c_int)  myInfo,
integer(c_int)  batch_count 
)

◆ rocsolver_spotri_strided_batched_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotri_strided_batched::rocsolver_spotri_strided_batched_rank_0 ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(c_int)  n,
real(c_float), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
integer(c_int)  myInfo,
integer(c_int)  batch_count 
)

◆ rocsolver_spotri_strided_batched_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotri_strided_batched::rocsolver_spotri_strided_batched_rank_1 ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(c_int)  n,
real(c_float), dimension(:), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
integer(c_int)  myInfo,
integer(c_int)  batch_count 
)

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