rocsolver_spotf2 Interface Reference#
hipfort_rocsolver::rocsolver_spotf2 Interface Reference
The POTF2 functions compute the Cholesky factorization of a real symmetric (complex Hermitian) positive definite matrix A.
More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocsolver_spotf2_ (handle, uplo, n, a, lda, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_spotf2_rank_0 (handle, uplo, n, a, lda, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_spotf2_rank_1 (handle, uplo, n, a, lda, myinfo) |
| integer(kind(rocblas_status_success)) function | rocsolver_spotf2_full_rank (handle, uplo, n, a, lda, myinfo) |
Detailed Description
The POTF2 functions compute the Cholesky factorization of a real symmetric (complex Hermitian) positive definite matrix A.
(This is the unblocked version of the algorithm.)
The factorization has the form:
\[ \begin{array}{cl} A = U^H U & \: \text{if uplo is upper, or}\\% A = L L^H & \: \text{if uplo is lower.} \end{array} \]
U is an upper triangular matrix and L is lower triangular.
- 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 number of rows and columns of matrix A. [in,out] A - pointer to type. Array on the GPU of dimension lda*n. On entry, the matrix A to be factored. On exit, the lower or upper triangular factor. [in] lda - rocblas_int. lda >= n. Specifies the leading dimension of A. [out] myInfo - pointer to a rocblas_int on the GPU. If info = 0, successful factorization of matrix A. If info = i > 0, the leading minor of order i of A is not positive definite. The factorization stopped at this point.
Member Function/Subroutine Documentation
◆ rocsolver_spotf2_()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotf2::rocsolver_spotf2_ | ( | type(c_ptr), value | handle, |
| integer(kind(rocblas_fill_upper)), value | uplo, | ||
| integer(c_int), value | n, | ||
| type(c_ptr), value | a, | ||
| integer(c_int), value | lda, | ||
| type(c_ptr), value | myinfo | ||
| ) |
◆ rocsolver_spotf2_full_rank()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotf2::rocsolver_spotf2_full_rank | ( | type(c_ptr) | handle, |
| integer(kind(rocblas_fill_upper)) | uplo, | ||
| integer(c_int) | n, | ||
| real(c_float), dimension(:,:), target | a, | ||
| integer(c_int) | lda, | ||
| type(c_ptr) | myinfo | ||
| ) |
◆ rocsolver_spotf2_rank_0()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotf2::rocsolver_spotf2_rank_0 | ( | type(c_ptr) | handle, |
| integer(kind(rocblas_fill_upper)) | uplo, | ||
| integer(c_int) | n, | ||
| real(c_float), target | a, | ||
| integer(c_int) | lda, | ||
| type(c_ptr) | myinfo | ||
| ) |
◆ rocsolver_spotf2_rank_1()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotf2::rocsolver_spotf2_rank_1 | ( | type(c_ptr) | handle, |
| integer(kind(rocblas_fill_upper)) | uplo, | ||
| integer(c_int) | n, | ||
| real(c_float), dimension(:), target | a, | ||
| integer(c_int) | lda, | ||
| type(c_ptr) | myinfo | ||
| ) |
The documentation for this interface was generated from the following file: