hipblaszgetribatched Interface Reference

hipblaszgetribatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblaszgetribatched Interface Reference
hipfort_hipblas::hipblaszgetribatched Interface Reference

SOLVER API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblaszgetribatched_ (handle, n, A, lda, ipiv, C, ldc, myInfo, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszgetribatched_full_rank (handle, n, A, lda, ipiv, C, ldc, myInfo, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszgetribatched_rank_0 (handle, n, A, lda, ipiv, C, ldc, myInfo, batchCount)
 
integer(kind(hipblas_status_success)) function hipblaszgetribatched_rank_1 (handle, n, A, lda, ipiv, C, ldc, myInfo, batchCount)
 

Detailed Description

SOLVER API.

getriBatched computes the inverse \(C_i = A_i^{-1}\) of a batch of general n-by-n matrices \(A_i\).

The inverse is computed by solving the linear system

\[ A_i C_i = I \]

where I is the identity matrix, and \(A_i\) is factorized as \(A_i = P_i L_i U_i\) as given by hipblasSgetrfBatched "getrfBatched".

Parameters
[in]handlehipblasHandle_t.
[in]nint. n >= 0.
The number of rows and columns of all matrices A_i in the batch.
[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.
Specifies the leading dimension of matrices A_i.
[in]ipivpointer to int. Array on the GPU (the size depends on the value of strideP).
The pivot indices returned by hipblasSgetrfBatched "getrfBatched". ipiv can be passed in as a nullptr, this will assume that getrfBatched was called without partial pivoting.
[out]Carray of pointers to type. Each pointer points to an array on the GPU of dimension ldc*n.
If info[i] = 0, the inverse of matrices A_i. Otherwise, undefined.
[in]ldcint. ldc >= n.
Specifies the leading dimension of C_i.
[out]infopointer to int. Array of batchCount integers on the GPU.
If info[i] = 0, successful exit for inversion of A_i. If info[i] = j > 0, U_i is singular. U_i[j,j] is the first zero pivot.
[in]batchCountint. batchCount >= 0.
Number of matrices in the batch.

Member Function/Subroutine Documentation

◆ hipblaszgetribatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgetribatched::hipblaszgetribatched_ ( type(c_ptr), value  handle,
integer(c_int), value  n,
type(c_ptr)  A,
integer(c_int), value  lda,
type(c_ptr), value  ipiv,
type(c_ptr)  C,
integer(c_int), value  ldc,
type(c_ptr), value  myInfo,
integer(c_int), value  batchCount 
)

◆ hipblaszgetribatched_full_rank()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgetribatched::hipblaszgetribatched_full_rank ( type(c_ptr)  handle,
integer(c_int)  n,
complex(c_double_complex), dimension(:,:,:), target  A,
integer(c_int)  lda,
type(c_ptr)  ipiv,
complex(c_double_complex), dimension(:,:,:), target  C,
integer(c_int)  ldc,
type(c_ptr)  myInfo,
integer(c_int)  batchCount 
)

◆ hipblaszgetribatched_rank_0()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgetribatched::hipblaszgetribatched_rank_0 ( type(c_ptr)  handle,
integer(c_int)  n,
complex(c_double_complex), target  A,
integer(c_int)  lda,
type(c_ptr)  ipiv,
complex(c_double_complex), target  C,
integer(c_int)  ldc,
type(c_ptr)  myInfo,
integer(c_int)  batchCount 
)

◆ hipblaszgetribatched_rank_1()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblaszgetribatched::hipblaszgetribatched_rank_1 ( type(c_ptr)  handle,
integer(c_int)  n,
complex(c_double_complex), dimension(:), target  A,
integer(c_int)  lda,
type(c_ptr)  ipiv,
complex(c_double_complex), dimension(:), target  C,
integer(c_int)  ldc,
type(c_ptr)  myInfo,
integer(c_int)  batchCount 
)

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