rocsolver_spotrf_batched Interface Reference

rocsolver_spotrf_batched Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_spotrf_batched Interface Reference
hipfort_rocsolver::rocsolver_spotrf_batched Interface Reference

POTRF_BATCHED computes the Cholesky factorization of a batch of real symmetric (complex Hermitian) positive definite matrices. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_spotrf_batched_ (handle, uplo, n, A, lda, myInfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_spotrf_batched_full_rank (handle, uplo, n, A, lda, myInfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_spotrf_batched_rank_0 (handle, uplo, n, A, lda, myInfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_spotrf_batched_rank_1 (handle, uplo, n, A, lda, myInfo, batch_count)
 

Detailed Description

POTRF_BATCHED computes the Cholesky factorization of a batch of real symmetric (complex Hermitian) positive definite matrices.

(This is the blocked version of the algorithm).

The factorization of matrix \(A_i\) in the batch has the form:

\[ \begin{array}{cl} A_i = U_i'U_i & \: \text{if uplo is upper, or}\newline A_i = L_iL_i' & \: \text{if uplo is lower.} \end{array} \]

\(U_i\) is an upper triangular matrix and \(L_i\) is lower triangular.

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 number of rows and columns of matrix A_i.
[in,out]Aarray of pointers to type. Each pointer points to an array on the GPU of dimension lda*n.
On entry, the matrices A_i to be factored. On exit, the upper or lower triangular factors.
[in]ldarocblas_int. lda >= n.
specifies the leading dimension of A_i.
[out]infopointer to rocblas_int. Array of batch_count integers on the GPU.
If info[i] = 0, successful factorization of matrix A_i. If info[i] = j > 0, the leading minor of order j of A_i is not positive definite. The i-th factorization stopped at this point.
[in]batch_countrocblas_int. batch_count >= 0.
Number of matrices in the batch.

Member Function/Subroutine Documentation

◆ rocsolver_spotrf_batched_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrf_batched::rocsolver_spotrf_batched_ ( type(c_ptr), value  handle,
integer(kind(rocblas_fill_upper)), value  uplo,
integer(c_int), value  n,
type(c_ptr)  A,
integer(c_int), value  lda,
integer(c_int)  myInfo,
integer(c_int), value  batch_count 
)

◆ rocsolver_spotrf_batched_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrf_batched::rocsolver_spotrf_batched_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,
integer(c_int)  myInfo,
integer(c_int)  batch_count 
)

◆ rocsolver_spotrf_batched_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrf_batched::rocsolver_spotrf_batched_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,
integer(c_int)  myInfo,
integer(c_int)  batch_count 
)

◆ rocsolver_spotrf_batched_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrf_batched::rocsolver_spotrf_batched_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,
integer(c_int)  myInfo,
integer(c_int)  batch_count 
)

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