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

The GETRI_NPVT_OUTOFPLACE_STRIDED_BATCHED functions compute the inverse \(C_l^{} = A_l^{-1}\) of a batch of general n -by-n matrices \(A_l\) without partial pivoting. More...

Public Member Functions

integer(c_int) 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_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)
 
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)
 

Detailed Description

The GETRI_NPVT_OUTOFPLACE_STRIDED_BATCHED functions compute the inverse \(C_l^{} = A_l^{-1}\) of a batch of general n -by-n matrices \(A_l\) without partial pivoting.

The inverse is computed by solving the linear system

\[ A_l C_l = I \]

where I is the identity matrix, and \(A_l\) is factorized as \(A_l = L_l U_l\), as given by GETRF_NPVT_STRIDED_BATCHED.

Parameters
[in]handle- rocblas_handle.
[in]n- rocblas_int. n >= 0. The number of rows and columns of all matrices A_l in the batch.
[in]A- pointer to type. Array on the GPU (the size depends on the value of strideA). The factors L_l and U_l of the factorization A_l = L_l*U_l returned by GETRF_NPVT_STRIDED_BATCHED.
[in]lda- rocblas_int. lda >= n. Specifies the leading dimension of matrices A_l.
[in]strideA- rocblas_stride. Stride from the start of one matrix A_l to the next one A_(l+1). There is no restriction for the value of strideA. The normal use case is strideA >= lda*n.
[out]C- pointer to type. Array on the GPU (the size depends on the value of strideC). If info[l] = 0, the inverse of matrices A_l, and otherwise undefined.
[in]ldc- rocblas_int. ldc >= n. Specifies the leading dimension of C_l.
[in]strideC- rocblas_stride. Stride from the start of one matrix C_l to the next one C_(l+1). There is no restriction for the value of strideC. The normal use case is strideC >= ldc*n.
[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, U_l is singular. U_l[i,i] is the first zero pivot.
[in]batch_count- rocblas_int. batch_count >= 0. Number of matrices in the batch.

Member Function/Subroutine Documentation

◆ rocsolver_sgetri_npvt_outofplace_strided_batched_()

integer(c_int) 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,
type(c_ptr), value  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), value  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,
type(c_ptr)  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), value  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,
type(c_ptr)  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), value  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,
type(c_ptr)  myinfo,
integer(c_int)  batch_count 
)

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