hipblaszgetrsbatched Interface Reference

hipblaszgetrsbatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblaszgetrsbatched Interface Reference
hipfort_hipblas::hipblaszgetrsbatched Interface Reference

SOLVER API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblaszgetrsbatched_ (handle, trans, n, nrhs, A, lda, ipiv, B, ldb, myInfo, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszgetrsbatched_full_rank (handle, trans, n, nrhs, A, lda, ipiv, B, ldb, myInfo, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszgetrsbatched_rank_0 (handle, trans, n, nrhs, A, lda, ipiv, B, ldb, myInfo, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszgetrsbatched_rank_1 (handle, trans, n, nrhs, A, lda, ipiv, B, ldb, myInfo, batchCount)
 

Detailed Description

SOLVER API.

getrsBatched 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,}\newline A_i^T X_i = B_i & \: \text{transposed, or}\newline A_i^H X_i = B_i & \: \text{conjugate transposed.} \end{array} \]

Matrix \(A_i\) is defined by its triangular factors as returned by hipblasSgetrfBatched "getrfBatched".

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]AArray of pointers to type. Each pointer points to an array on the GPU of dimension lda*n.
The factors L_i and U_i of the factorization A_i = P_i*L_i*U_i returned by hipblasSgetrfBatched "getrfBatched".
[in]ldaint. lda >= n.
The leading dimension of matrices A_i.
[in]ipivpointer to int. Array on the GPU.
Contains the vectors ipiv_i of pivot indices returned by hipblasSgetrfBatched "getrfBatched".
[in,out]BArray of pointers to type. Each pointer points to an array on the GPU of dimension ldb*nrhs.
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.
[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

◆ hipblaszgetrsbatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgetrsbatched::hipblaszgetrsbatched_ ( 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)  A,
integer(c_int), value  lda,
type(c_ptr), value  ipiv,
type(c_ptr)  B,
integer(c_int), value  ldb,
type(c_ptr), value  myInfo,
integer(c_int), value  batchCount 
)

◆ hipblaszgetrsbatched_full_rank()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgetrsbatched::hipblaszgetrsbatched_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,
type(c_ptr)  ipiv,
complex(c_double_complex), dimension(:,:,:), target  B,
integer(c_int)  ldb,
type(c_ptr)  myInfo,
integer(c_int)  batchCount 
)

◆ hipblaszgetrsbatched_rank_0()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgetrsbatched::hipblaszgetrsbatched_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,
type(c_ptr)  ipiv,
complex(c_double_complex), target  B,
integer(c_int)  ldb,
type(c_ptr)  myInfo,
integer(c_int)  batchCount 
)

◆ hipblaszgetrsbatched_rank_1()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgetrsbatched::hipblaszgetrsbatched_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,
type(c_ptr)  ipiv,
complex(c_double_complex), dimension(:), target  B,
integer(c_int)  ldb,
type(c_ptr)  myInfo,
integer(c_int)  batchCount 
)

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