rocsolver_sposv_batched Interface Reference

rocsolver_sposv_batched Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_sposv_batched Interface Reference
hipfort_rocsolver::rocsolver_sposv_batched Interface Reference

POSV_BATCHED solves a batch of symmetric/hermitian systems of n linear equations on n variables. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_sposv_batched_ (handle, uplo, n, nrhs, A, lda, B, ldb, myInfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_sposv_batched_full_rank (handle, uplo, n, nrhs, A, lda, B, ldb, myInfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_sposv_batched_rank_0 (handle, uplo, n, nrhs, A, lda, B, ldb, myInfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_sposv_batched_rank_1 (handle, uplo, n, nrhs, A, lda, B, ldb, myInfo, batch_count)
 

Detailed Description

POSV_BATCHED solves a batch of symmetric/hermitian systems of n linear equations on n variables.

For each instance j in the batch, it solves the system

\[ A_j X_j = B_j \]

where \(A_j\) is a real symmetric (complex hermitian) positive definite matrix. Matrix \(A_j\) is first factorized as \(A_j=L_jL_j'\) or \(A_j=U_j'U_j\), depending on the value of uplo, using POTRF_BATCHED; then, the solution is computed with POTRS_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 order of the system, i.e. the number of columns and rows of all A_j matrices.
[in]nrhsrocblas_int. nrhs >= 0.
The number of right hand sides, i.e., the number of columns of all the matrices B_j.
[in]AArray of pointers to type. Each pointer points to an array on the GPU of dimension lda*n.
On entry, the symmetric/hermitian matrices A_j. On exit, if info[j] = 0, the factor L_j or U_j of the Cholesky factorization of A_j returned by POTRF_BATCHED.
[in]ldarocblas_int. lda >= n.
The leading dimension of matrices A_j.
[in,out]BArray of pointers to type. Each pointer points to an array on the GPU of dimension ldb*nrhs.
On entry, the right hand side matrices B_j. On exit, the solution matrix X_j of each system in the batch.
[in]ldbrocblas_int. ldb >= n.
The leading dimension of matrices B_j.
[out]infopointer to rocblas_int. Array of batch_count integers on the GPU.
If info[j] = 0, successful exit. If info[j] = i > 0, the leading minor of order i of A_j is not positive definite. The j-th solution could not be computed.
[in]batch_countrocblas_int. batch_count >= 0.
Number of instances (systems) in the batch.

Member Function/Subroutine Documentation

◆ rocsolver_sposv_batched_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sposv_batched::rocsolver_sposv_batched_ ( type(c_ptr), value  handle,
integer(kind(rocblas_fill_upper)), value  uplo,
integer(c_int), value  n,
integer(c_int), value  nrhs,
type(c_ptr)  A,
integer(c_int), value  lda,
type(c_ptr)  B,
integer(c_int), value  ldb,
integer(c_int)  myInfo,
integer(c_int), value  batch_count 
)

◆ rocsolver_sposv_batched_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sposv_batched::rocsolver_sposv_batched_full_rank ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(c_int)  n,
integer(c_int)  nrhs,
real(c_float), dimension(:,:,:), target  A,
integer(c_int)  lda,
real(c_float), dimension(:,:,:), target  B,
integer(c_int)  ldb,
integer(c_int)  myInfo,
integer(c_int)  batch_count 
)

◆ rocsolver_sposv_batched_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sposv_batched::rocsolver_sposv_batched_rank_0 ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(c_int)  n,
integer(c_int)  nrhs,
real(c_float), target  A,
integer(c_int)  lda,
real(c_float), target  B,
integer(c_int)  ldb,
integer(c_int)  myInfo,
integer(c_int)  batch_count 
)

◆ rocsolver_sposv_batched_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sposv_batched::rocsolver_sposv_batched_rank_1 ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(c_int)  n,
integer(c_int)  nrhs,
real(c_float), dimension(:), target  A,
integer(c_int)  lda,
real(c_float), dimension(:), target  B,
integer(c_int)  ldb,
integer(c_int)  myInfo,
integer(c_int)  batch_count 
)

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