rocsolver_sgeql2_batched Interface Reference

rocsolver_sgeql2_batched Interface Reference#

HIPFORT API Reference: hipfort_rocsolver::rocsolver_sgeql2_batched Interface Reference
hipfort_rocsolver::rocsolver_sgeql2_batched Interface Reference

! More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocsolver_sgeql2_batched_full_rank (handle, m, n, A, lda, ipiv, strideP, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_sgeql2_batched_orig (handle, m, n, A, lda, ipiv, strideP, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_sgeql2_batched_rank_0 (handle, m, n, A, lda, ipiv, strideP, batch_count)
 
integer(kind(rocblas_status_success)) function rocsolver_sgeql2_batched_rank_1 (handle, m, n, A, lda, ipiv, strideP, batch_count)
 

Detailed Description

!

GEQL2_BATCHED computes the QL factorization of a batch of general m-by-n matrices.

(This is the unblocked version of the algorithm).

The factorization of matrix A_j in the batch has the form

A_j =  Q_j  [  0  ]
             [ L_j ]

where L_j is lower triangular (lower trapezoidal if m < n), and Q_j is a m-by-m orthogonalunitary matrix represented as the product of Householder matrices

Q_j = H_j(k)  ...  H_j(2)  H_j(1), with k = min(m,n)

Each Householder matrices H_j(i), for j = 1,2,...,batch_count, and i = 1,2,...,k, is given by

H_j(i) = I - ipiv_j[i-1]  v_j(i)  v_j(i)'

where the last m-i elements of Householder vector v_j(i) are zero, and v_j(i)[i] = 1.

Parameters
[in]handlerocblas_handle.
[in]mrocblas_int. m >= 0.
The number of rows of all the matrices A_j in the batch.
[in]nrocblas_int. n >= 0.
The number of columns of all the matrices A_j in the batch.
[in,out]AArray of pointers to type. Each pointer points to an array on the GPU of dimension ldan.
On entry, the m-by-n matrices A_j to be factored. On exit, the elements on and below the (m-n)th subdiagonal (when m >= n) or the (n-m)th superdiagonal (when n > m) contain the factor L_j; the elements above the subsuperdiagonal are the i - 1 elements of vector v_j(i) for i = 1,2,...,min(m,n).
[in]ldarocblas_int. lda >= m.
Specifies the leading dimension of matrices A_j.
[out]ipivpointer to type. Array on the GPU (the size depends on the value of strideP).
Contains the vectors ipiv_j of scalar factors of the Householder matrices H_j(i).
[in]strideProcblas_stride.
Stride from the start of one vector ipiv_j to the next one ipiv_(j+1). There is no restriction for the value of strideP. Normal use is strideP >= min(m,n).
[in]batch_countrocblas_int. batch_count >= 0.
Number of matrices in the batch.

Member Function/Subroutine Documentation

◆ rocsolver_sgeql2_batched_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgeql2_batched::rocsolver_sgeql2_batched_full_rank ( type(c_ptr), value  handle,
integer(c_int), value  m,
integer(c_int), value  n,
real(c_float), dimension(:,:,:), target  A,
integer(c_int), value  lda,
real(c_float), dimension(:), target  ipiv,
integer(c_int64_t), value  strideP,
integer(c_int), value  batch_count 
)

◆ rocsolver_sgeql2_batched_orig()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgeql2_batched::rocsolver_sgeql2_batched_orig ( type(c_ptr), value  handle,
integer(c_int), value  m,
integer(c_int), value  n,
type(c_ptr)  A,
integer(c_int), value  lda,
type(c_ptr), value  ipiv,
integer(c_int64_t), value  strideP,
integer(c_int), value  batch_count 
)

◆ rocsolver_sgeql2_batched_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgeql2_batched::rocsolver_sgeql2_batched_rank_0 ( type(c_ptr), value  handle,
integer(c_int), value  m,
integer(c_int), value  n,
real(c_float), target  A,
integer(c_int), value  lda,
real(c_float), target  ipiv,
integer(c_int64_t), value  strideP,
integer(c_int), value  batch_count 
)

◆ rocsolver_sgeql2_batched_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgeql2_batched::rocsolver_sgeql2_batched_rank_1 ( type(c_ptr), value  handle,
integer(c_int), value  m,
integer(c_int), value  n,
real(c_float), dimension(:), target  A,
integer(c_int), value  lda,
real(c_float), dimension(:), target  ipiv,
integer(c_int64_t), value  strideP,
integer(c_int), value  batch_count 
)

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