# 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

POTRS_STRIDED_BATCHED solves 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_full_rank (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)

## Detailed Description

POTRS_STRIDED_BATCHED solves a batch of symmetric/hermitian systems of n linear equations on n variables in its factorized forms.

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

$A_j X_j = B_j$

where $$A_j$$ is a real symmetric (complex hermitian) positive definite matrix defined by its triangular factor

$\begin{array}{cl} A_j = U_j'U_j & \: \text{if uplo is upper, or}\newline A_j = L_jL_j' & \: \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 is not used. [in] n rocblas_int. n >= 0. The order of the system, i.e. the number of columns and rows of all A_j matrices. [in] nrhs rocblas_int. nrhs >= 0. The number of right hand sides, i.e., the number of columns of all the matrices B_j. [in] A pointer to type. Array on the GPU (the size depends on the value of strideA). The factor L_j or U_j of the Cholesky factorization of A_j returned by POTRF_STRIDED_BATCHED. [in] lda rocblas_int. lda >= n. The leading dimension of matrices A_j. [in] strideA rocblas_stride. Stride from the start of one matrix A_j to the next one A_(j+1). There is no restriction for the value of strideA. 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_j. On exit, the solution matrix X_j of each system in the batch. [in] ldb rocblas_int. ldb >= n. The leading dimension of matrices B_j. [in] strideB rocblas_stride. Stride from the start of one matrix B_j to the next one B_(j+1). There is no restriction for the value of strideB. Normal use case is strideB >= ldb*nrhs. [in] batch_count rocblas_int. batch_count >= 0. Number of instances (systems) in the batch.

## ◆ 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: