rocsolver_spotrs Interface Reference

rocsolver_spotrs Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_spotrs Interface Reference
hipfort_rocsolver::rocsolver_spotrs Interface Reference

POTRS solves a symmetric/hermitian system of n linear equations on n variables in its factorized form. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_spotrs_ (handle, uplo, n, nrhs, A, lda, B, ldb)
 
integer(kind(rocblas_status_success)) function rocsolver_spotrs_full_rank (handle, uplo, n, nrhs, A, lda, B, ldb)
 
integer(kind(rocblas_status_success)) function rocsolver_spotrs_rank_0 (handle, uplo, n, nrhs, A, lda, B, ldb)
 
integer(kind(rocblas_status_success)) function rocsolver_spotrs_rank_1 (handle, uplo, n, nrhs, A, lda, B, ldb)
 

Detailed Description

POTRS solves a symmetric/hermitian system of n linear equations on n variables in its factorized form.

It solves the system

\[ A X = B \]

where A is a real symmetric (complex hermitian) positive definite matrix defined by its triangular factor

\[ \begin{array}{cl} A = U'U & \: \text{if uplo is upper, or}\newline A = LL' & \: \text{if uplo is lower.} \end{array} \]

as returned by POTRF.

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 A.
[in]nrhsrocblas_int. nrhs >= 0.
The number of right hand sides, i.e., the number of columns of the matrix B.
[in]Apointer to type. Array on the GPU of dimension lda*n.
The factor L or U of the Cholesky factorization of A returned by POTRF.
[in]ldarocblas_int. lda >= n.
The leading dimension of A.
[in,out]Bpointer to type. Array on the GPU of dimension ldb*nrhs.
On entry, the right hand side matrix B. On exit, the solution matrix X.
[in]ldbrocblas_int. ldb >= n.
The leading dimension of B.

Member Function/Subroutine Documentation

◆ rocsolver_spotrs_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrs::rocsolver_spotrs_ ( 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), value  A,
integer(c_int), value  lda,
type(c_ptr), value  B,
integer(c_int), value  ldb 
)

◆ rocsolver_spotrs_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrs::rocsolver_spotrs_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 
)

◆ rocsolver_spotrs_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrs::rocsolver_spotrs_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 
)

◆ rocsolver_spotrs_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrs::rocsolver_spotrs_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 
)

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