rocsolver_sposv Interface Reference#
hipfort_rocsolver::rocsolver_sposv Interface Reference
The POSV functions solve a symmetric/Hermitian system of n linear equations on n variables.
More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocsolver_sposv_ (handle, uplo, n, nrhs, a, lda, b, ldb, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_sposv_rank_0 (handle, uplo, n, nrhs, a, lda, b, ldb, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_sposv_rank_1 (handle, uplo, n, nrhs, a, lda, b, ldb, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_sposv_full_rank (handle, uplo, n, nrhs, a, lda, b, ldb, myinfo) |
Detailed Description
The POSV functions solve a symmetric/Hermitian system of n linear equations on n variables.
It solves the system
\[ A X = B \]
where A is a real symmetric (complex Hermitian) positive definite matrix. Matrix A is first factorized as \(A=L L^H\) or \(A=U^H U\), depending on the value of uplo, using POTRF, then the solution is computed with POTRS.
- Parameters
-
[in] handle - rocblas_handle. [in] uplo - rocblas_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] n - rocblas_int. n >= 0. The order of the system, that is, the number of columns and rows of A. [in] nrhs - rocblas_int. nrhs >= 0. The number of right hand sides, that is, the number of columns of the matrix B. [in,out] A - pointer to type. Array on the GPU of dimension lda*n. On entry, the symmetric/Hermitian matrix A. On exit, if info = 0, the factor L or U of the Cholesky factorization of A returned by POTRF. [in] lda - rocblas_int. lda >= n. The leading dimension of A. [in,out] B - pointer 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] ldb - rocblas_int. ldb >= n. The leading dimension of B. [out] myInfo - pointer to a rocblas_int on the GPU. If info = 0, successful exit. If info = i > 0, the leading minor of order i of A is not positive definite. The solution could not be computed.
Member Function/Subroutine Documentation
◆ rocsolver_sposv_()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sposv::rocsolver_sposv_ | ( | 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, | ||
| type(c_ptr), value | myinfo | ||
| ) |
◆ rocsolver_sposv_full_rank()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sposv::rocsolver_sposv_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, | ||
| type(c_ptr) | myinfo | ||
| ) |
◆ rocsolver_sposv_rank_0()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sposv::rocsolver_sposv_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, | ||
| type(c_ptr) | myinfo | ||
| ) |
◆ rocsolver_sposv_rank_1()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sposv::rocsolver_sposv_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, | ||
| type(c_ptr) | myinfo | ||
| ) |
The documentation for this interface was generated from the following file: