rocsolver_spotrf_strided_batched Interface Reference

rocsolver_spotrf_strided_batched Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_spotrf_strided_batched Interface Reference
hipfort_rocsolver::rocsolver_spotrf_strided_batched Interface Reference

The POTRF_STRIDED_BATCHED functions 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_strided_batched_ (handle, uplo, n, a, lda, stridea, myinfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_spotrf_strided_batched_rank_0 (handle, uplo, n, a, lda, stridea, myinfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_spotrf_strided_batched_rank_1 (handle, uplo, n, a, lda, stridea, myinfo, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_spotrf_strided_batched_full_rank (handle, uplo, n, a, lda, stridea, myinfo, batch_count)
 

Detailed Description

The POTRF_STRIDED_BATCHED functions 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_l\) in the batch has the form:

\[ \begin{array}{cl} A_l^{} = U_l^H U_l^{} & \: \text{if uplo is upper, or}\\% A_l^{} = L_l^{}L_l^H & \: \text{if uplo is lower.} \end{array} \]

\(U_l\) is an upper triangular matrix and \(L_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_l is not used.
[in]n- rocblas_int. n >= 0. The number of rows and columns of matrix A_l.
[in,out]A- pointer to type. Array on the GPU (the size depends on the value of strideA). On entry, the matrices A_l to be factored. On exit, the upper or lower triangular factors.
[in]lda- rocblas_int. lda >= n. Specifies the leading dimension of A_l.
[in]strideA- rocblas_stride. Stride from the start of one matrix A_l to the next one A_(l+1). There is no restriction for the value of strideA. The normal use case is strideA >= lda*n.
[out]myInfo- pointer to rocblas_int. Array of batch_count integers on the GPU. If info[l] = 0, successful factorization of matrix A_l. If info[l] = i > 0, the leading minor of order i of A_l is not positive definite. The l-th factorization stopped at this point.
[in]batch_count- rocblas_int. batch_count >= 0. Number of matrices in the batch.

Member Function/Subroutine Documentation

◆ rocsolver_spotrf_strided_batched_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrf_strided_batched::rocsolver_spotrf_strided_batched_ ( 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,
integer(c_int64_t), value  stridea,
type(c_ptr), value  myinfo,
integer(c_int), value  batch_count 
)

◆ rocsolver_spotrf_strided_batched_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrf_strided_batched::rocsolver_spotrf_strided_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_int64_t)  stridea,
type(c_ptr)  myinfo,
integer(c_int)  batch_count 
)

◆ rocsolver_spotrf_strided_batched_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrf_strided_batched::rocsolver_spotrf_strided_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_int64_t)  stridea,
type(c_ptr)  myinfo,
integer(c_int)  batch_count 
)

◆ rocsolver_spotrf_strided_batched_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrf_strided_batched::rocsolver_spotrf_strided_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_int64_t)  stridea,
type(c_ptr)  myinfo,
integer(c_int)  batch_count 
)

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