rocsolver_spotrs_strided_batched Interface Reference

rocsolver_spotrs_strided_batched Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_spotrs_strided_batched Interface Reference
hipfort_rocsolver::rocsolver_spotrs_strided_batched Interface Reference

The POTRS_STRIDED_BATCHED functions solve a batch of symmetric/Hermitian systems of n linear equations on n variables in its factorized forms. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_spotrs_strided_batched_ (handle, uplo, n, nrhs, a, lda, stridea, b, ldb, strideb, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_spotrs_strided_batched_rank_0 (handle, uplo, n, nrhs, a, lda, stridea, b, ldb, strideb, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_spotrs_strided_batched_rank_1 (handle, uplo, n, nrhs, a, lda, stridea, b, ldb, strideb, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_spotrs_strided_batched_full_rank (handle, uplo, n, nrhs, a, lda, stridea, b, ldb, strideb, batch_count)
 

Detailed Description

The POTRS_STRIDED_BATCHED functions solve a batch of symmetric/Hermitian systems of n linear equations on n variables in its factorized forms.

For each instance l in the batch, it solves the system

\[ A_l X_l = B_l \]

where \(A_l\) is a real symmetric (complex Hermitian) positive definite matrix defined by its triangular factor

\[ \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} \]

as returned by POTRF_STRIDED_BATCHED.

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 order of the system, that is, the number of columns and rows of all A_l matrices.
[in]nrhs- rocblas_int. nrhs >= 0. The number of right hand sides, that is, the number of columns of all the matrices B_l.
[in]A- pointer to type. Array on the GPU (the size depends on the value of strideA). The factor L_l or U_l of the Cholesky factorization of A_l returned by POTRF_STRIDED_BATCHED.
[in]lda- rocblas_int. lda >= n. The leading dimension of matrices 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.
[in,out]B- pointer to type. Array on the GPU (size depends on the value of strideB). On entry, the right hand side matrices B_l. On exit, the solution matrix X_l of each system in the batch.
[in]ldb- rocblas_int. ldb >= n. The leading dimension of matrices B_l.
[in]strideB- rocblas_stride. Stride from the start of one matrix B_l to the next one B_(l+1). There is no restriction for the value of strideB. The normal use case is strideB >= ldb*nrhs.
[in]batch_count- rocblas_int. batch_count >= 0. Number of instances (systems) in the batch.

Member Function/Subroutine Documentation

◆ rocsolver_spotrs_strided_batched_()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrs_strided_batched::rocsolver_spotrs_strided_batched_ ( 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,
integer(c_int64_t), value  stridea,
type(c_ptr), value  b,
integer(c_int), value  ldb,
integer(c_int64_t), value  strideb,
integer(c_int), value  batch_count 
)

◆ rocsolver_spotrs_strided_batched_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrs_strided_batched::rocsolver_spotrs_strided_batched_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,
integer(c_int64_t)  stridea,
real(c_float), dimension(:,:), target  b,
integer(c_int)  ldb,
integer(c_int64_t)  strideb,
integer(c_int)  batch_count 
)

◆ rocsolver_spotrs_strided_batched_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrs_strided_batched::rocsolver_spotrs_strided_batched_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,
integer(c_int64_t)  stridea,
real(c_float), target  b,
integer(c_int)  ldb,
integer(c_int64_t)  strideb,
integer(c_int)  batch_count 
)

◆ rocsolver_spotrs_strided_batched_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_spotrs_strided_batched::rocsolver_spotrs_strided_batched_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,
integer(c_int64_t)  stridea,
real(c_float), dimension(:), target  b,
integer(c_int)  ldb,
integer(c_int64_t)  strideb,
integer(c_int)  batch_count 
)

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