rocsolver_sgetri_npvt_outofplace_strided_batched Interface Reference

rocsolver_sgetri_npvt_outofplace_strided_batched Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_sgetri_npvt_outofplace_strided_batched Interface Reference
hipfort_rocsolver::rocsolver_sgetri_npvt_outofplace_strided_batched Interface Reference

GETRI_NPVT_OUTOFPLACE_STRIDED_BATCHED computes the inverse \(C_j = A_j^{-1}\) of a batch of general n-by-n matrices \(A_j\) without partial pivoting. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_sgetri_npvt_outofplace_strided_batched_ (handle, n, A, lda, strideA, C, ldc, strideC, myInfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_sgetri_npvt_outofplace_strided_batched_full_rank (handle, n, A, lda, strideA, C, ldc, strideC, myInfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_sgetri_npvt_outofplace_strided_batched_rank_0 (handle, n, A, lda, strideA, C, ldc, strideC, myInfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_sgetri_npvt_outofplace_strided_batched_rank_1 (handle, n, A, lda, strideA, C, ldc, strideC, myInfo, batch_count)
 

Detailed Description

GETRI_NPVT_OUTOFPLACE_STRIDED_BATCHED computes the inverse \(C_j = A_j^{-1}\) of a batch of general n-by-n matrices \(A_j\) without partial pivoting.

The inverse is computed by solving the linear system

\[ A_j C_j = I \]

where I is the identity matrix, and \(A_j\) is factorized as \(A_j = L_j U_j\) as given by GETRF_NPVT_STRIDED_BATCHED.

Parameters
[in]handlerocblas_handle.
[in]nrocblas_int. n >= 0.
The number of rows and columns of all matrices A_j in the batch.
[in]Apointer to type. Array on the GPU (the size depends on the value of strideA).
The factors L_j and U_j of the factorization A_j = L_j*U_j returned by GETRF_NPVT_STRIDED_BATCHED.
[in]ldarocblas_int. lda >= n.
Specifies the leading dimension of matrices A_j.
[in]strideArocblas_stride.
Stride from the start of one matrix A_j to the next one A_(j+1). There is no restriction for the value of strideA. Normal use case is strideA >= lda*n
[out]Cpointer to type. Array on the GPU (the size depends on the value of strideC).
If info[j] = 0, the inverse of matrices A_j. Otherwise, undefined.
[in]ldcrocblas_int. ldc >= n.
Specifies the leading dimension of C_j.
[in]strideCrocblas_stride.
Stride from the start of one matrix C_j to the next one C_(j+1). There is no restriction for the value of strideC. Normal use case is strideC >= ldc*n
[out]infopointer to rocblas_int. Array of batch_count integers on the GPU.
If info[j] = 0, successful exit for inversion of A_j. If info[j] = i > 0, U_j is singular. U_j[i,i] is the first zero pivot.
[in]batch_countrocblas_int. batch_count >= 0.
Number of matrices in the batch.

Member Function/Subroutine Documentation

◆ rocsolver_sgetri_npvt_outofplace_strided_batched_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetri_npvt_outofplace_strided_batched::rocsolver_sgetri_npvt_outofplace_strided_batched_ ( type(c_ptr), value  handle,
integer(c_int), value  n,
type(c_ptr), value  A,
integer(c_int), value  lda,
integer(c_int64_t), value  strideA,
type(c_ptr), value  C,
integer(c_int), value  ldc,
integer(c_int64_t), value  strideC,
integer(c_int)  myInfo,
integer(c_int), value  batch_count 
)

◆ rocsolver_sgetri_npvt_outofplace_strided_batched_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetri_npvt_outofplace_strided_batched::rocsolver_sgetri_npvt_outofplace_strided_batched_full_rank ( type(c_ptr)  handle,
integer(c_int)  n,
real(c_float), dimension(:,:), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
real(c_float), dimension(:,:), target  C,
integer(c_int)  ldc,
integer(c_int64_t)  strideC,
integer(c_int)  myInfo,
integer(c_int)  batch_count 
)

◆ rocsolver_sgetri_npvt_outofplace_strided_batched_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetri_npvt_outofplace_strided_batched::rocsolver_sgetri_npvt_outofplace_strided_batched_rank_0 ( type(c_ptr)  handle,
integer(c_int)  n,
real(c_float), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
real(c_float), target  C,
integer(c_int)  ldc,
integer(c_int64_t)  strideC,
integer(c_int)  myInfo,
integer(c_int)  batch_count 
)

◆ rocsolver_sgetri_npvt_outofplace_strided_batched_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetri_npvt_outofplace_strided_batched::rocsolver_sgetri_npvt_outofplace_strided_batched_rank_1 ( type(c_ptr)  handle,
integer(c_int)  n,
real(c_float), dimension(:), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
real(c_float), dimension(:), target  C,
integer(c_int)  ldc,
integer(c_int64_t)  strideC,
integer(c_int)  myInfo,
integer(c_int)  batch_count 
)

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