hipblaszgetrsstridedbatched Interface Reference

hipblaszgetrsstridedbatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblaszgetrsstridedbatched Interface Reference
hipfort_hipblas::hipblaszgetrsstridedbatched Interface Reference

SOLVER API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblaszgetrsstridedbatched_ (handle, trans, n, nrhs, A, lda, strideA, ipiv, strideP, B, ldb, strideB, myInfo, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszgetrsstridedbatched_full_rank (handle, trans, n, nrhs, A, lda, strideA, ipiv, strideP, B, ldb, strideB, myInfo, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszgetrsstridedbatched_rank_0 (handle, trans, n, nrhs, A, lda, strideA, ipiv, strideP, B, ldb, strideB, myInfo, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszgetrsstridedbatched_rank_1 (handle, trans, n, nrhs, A, lda, strideA, ipiv, strideP, B, ldb, strideB, myInfo, batchCount)
 

Detailed Description

SOLVER API.

getrsStridedBatched solves a batch of systems of n linear equations on n variables in its factorized forms.

For each instance i in the batch, it solves one of the following systems, depending on the value of trans:

\[ \begin{array}{cl} A_i X_i = B_i & \: \text{not transposed,} A_i^T X_i = B_i & \: \text{transposed, or} A_i^H X_i = B_i & \: \text{conjugate transposed.} \end{array} \]

Matrix \(A_i\) is defined by its triangular factors as returned by hipblasSgetrfStridedBatched "getrfStridedBatched".

Parameters
[in]handlehipblasHandle_t.
[in]transhipblasOperation_t.
Specifies the form of the system of equations of each instance in the batch.
[in]nint. n >= 0.
The order of the system, i.e. the number of columns and rows of all A_i matrices.
[in]nrhsint. nrhs >= 0.
The number of right hand sides, i.e., the number of columns of all the matrices B_i.
[in]Apointer to type. Array on the GPU (the size depends on the value of strideA).
The factors L_i and U_i of the factorization A_i = P_i*L_i*U_i returned by hipblasSgetrfStridedBatched "getrfStridedBatched".
[in]ldaint. lda >= n.
The leading dimension of matrices A_i.
[in]strideAhipblasStride.
Stride from the start of one matrix A_i to the next one A_(i+1). There is no restriction for the value of strideA. Normal use case is strideA >= lda*n.
[in]ipivpointer to int. Array on the GPU (the size depends on the value of strideP).
Contains the vectors ipiv_i of pivot indices returned by hipblasSgetrfStridedBatched "getrfStridedBatched".
[in]stridePhipblasStride.
Stride from the start of one vector ipiv_i to the next one ipiv_(i+1). There is no restriction for the value of strideP. Normal use case is strideP >= n.
[in,out]Bpointer to type. Array on the GPU (size depends on the value of strideB).
On entry, the right hand side matrices B_i. On exit, the solution matrix X_i of each system in the batch.
[in]ldbint. ldb >= n.
The leading dimension of matrices B_i.
[in]strideBhipblasStride.
Stride from the start of one matrix B_i to the next one B_(i+1). There is no restriction for the value of strideB. Normal use case is strideB >= ldb*nrhs.
[out]infopointer to a int on the host.
If info = 0, successful exit. If info = j < 0, the j-th argument is invalid.
[in]batchCountint. batchCount >= 0.
Number of instances (systems) in the batch.

Member Function/Subroutine Documentation

◆ hipblaszgetrsstridedbatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgetrsstridedbatched::hipblaszgetrsstridedbatched_ ( type(c_ptr), value  handle,
integer(kind(hipblas_op_n)), value  trans,
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  ipiv,
integer(c_int64_t), value  strideP,
type(c_ptr), value  B,
integer(c_int), value  ldb,
integer(c_int64_t), value  strideB,
type(c_ptr), value  myInfo,
integer(c_int), value  batchCount 
)

◆ hipblaszgetrsstridedbatched_full_rank()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgetrsstridedbatched::hipblaszgetrsstridedbatched_full_rank ( type(c_ptr)  handle,
integer(kind(hipblas_op_n))  trans,
integer(c_int)  n,
integer(c_int)  nrhs,
complex(c_double_complex), dimension(:,:), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
type(c_ptr)  ipiv,
integer(c_int64_t)  strideP,
complex(c_double_complex), dimension(:,:), target  B,
integer(c_int)  ldb,
integer(c_int64_t)  strideB,
type(c_ptr)  myInfo,
integer(c_int)  batchCount 
)

◆ hipblaszgetrsstridedbatched_rank_0()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgetrsstridedbatched::hipblaszgetrsstridedbatched_rank_0 ( type(c_ptr)  handle,
integer(kind(hipblas_op_n))  trans,
integer(c_int)  n,
integer(c_int)  nrhs,
complex(c_double_complex), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
type(c_ptr)  ipiv,
integer(c_int64_t)  strideP,
complex(c_double_complex), target  B,
integer(c_int)  ldb,
integer(c_int64_t)  strideB,
type(c_ptr)  myInfo,
integer(c_int)  batchCount 
)

◆ hipblaszgetrsstridedbatched_rank_1()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgetrsstridedbatched::hipblaszgetrsstridedbatched_rank_1 ( type(c_ptr)  handle,
integer(kind(hipblas_op_n))  trans,
integer(c_int)  n,
integer(c_int)  nrhs,
complex(c_double_complex), dimension(:), target  A,
integer(c_int)  lda,
integer(c_int64_t)  strideA,
type(c_ptr)  ipiv,
integer(c_int64_t)  strideP,
complex(c_double_complex), dimension(:), target  B,
integer(c_int)  ldb,
integer(c_int64_t)  strideB,
type(c_ptr)  myInfo,
integer(c_int)  batchCount 
)

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