rocsolver_sgetf2_npvt_batched Interface Reference#
GETF2_NPVT_BATCHED computes the LU factorization of a batch of general m-by-n matrices without partial pivoting. More...
Public Member Functions | |
integer(kind(rocblas_status_success)) function | rocsolver_sgetf2_npvt_batched_ (handle, m, n, A, lda, myInfo, batch_count) |
integer(kind(rocblas_status_success)) function | rocsolver_sgetf2_npvt_batched_full_rank (handle, m, n, A, lda, myInfo, batch_count) |
integer(kind(rocblas_status_success)) function | rocsolver_sgetf2_npvt_batched_rank_0 (handle, m, n, A, lda, myInfo, batch_count) |
integer(kind(rocblas_status_success)) function | rocsolver_sgetf2_npvt_batched_rank_1 (handle, m, n, A, lda, myInfo, batch_count) |
Detailed Description
GETF2_NPVT_BATCHED computes the LU factorization of a batch of general m-by-n matrices without partial pivoting.
(This is the unblocked Level-2-BLAS version of the algorithm. An optimized internal implementation without rocBLAS calls could be executed with small and mid-size matrices if optimizations are enabled (default option). For more details, see the "Tuning rocSOLVER performance" section of the Library Design Guide).
The factorization of matrix \(A_i\) in the batch has the form
\[ A_i = L_iU_i \]
where \(L_i\) is lower triangular with unit diagonal elements (lower trapezoidal if m > n), and \(U_i\) is upper triangular (upper trapezoidal if m < n).
Note: Although this routine can offer better performance, Gaussian elimination without pivoting is not backward stable. If numerical accuracy is compromised, use the legacy-LAPACK-like API GETF2_BATCHED routines instead.
- Parameters
-
[in] handle rocblas_handle. [in] m rocblas_int. m >= 0.
The number of rows of all matrices A_i in the batch.[in] n rocblas_int. n >= 0.
The number of columns of all matrices A_i in the batch.[in,out] A array of pointers to type. Each pointer points to an array on the GPU of dimension lda*n.
On entry, the m-by-n matrices A_i to be factored. On exit, the factors L_i and U_i from the factorizations. The unit diagonal elements of L_i are not stored.[in] lda rocblas_int. lda >= m.
Specifies the leading dimension of matrices A_i.[out] info pointer to rocblas_int. Array of batch_count integers on the GPU.
If info[i] = 0, successful exit for factorization of A_i. If info[i] = j > 0, U_i is singular. U_i[j,j] is the first zero element in the diagonal. The factorization from this point might be incomplete.[in] batch_count rocblas_int. batch_count >= 0.
Number of matrices in the batch.
Member Function/Subroutine Documentation
◆ rocsolver_sgetf2_npvt_batched_()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetf2_npvt_batched::rocsolver_sgetf2_npvt_batched_ | ( | type(c_ptr), value | handle, |
integer(c_int), value | m, | ||
integer(c_int), value | n, | ||
type(c_ptr) | A, | ||
integer(c_int), value | lda, | ||
integer(c_int) | myInfo, | ||
integer(c_int), value | batch_count | ||
) |
◆ rocsolver_sgetf2_npvt_batched_full_rank()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetf2_npvt_batched::rocsolver_sgetf2_npvt_batched_full_rank | ( | type(c_ptr) | handle, |
integer(c_int) | m, | ||
integer(c_int) | n, | ||
real(c_float), dimension(:,:,:), target | A, | ||
integer(c_int) | lda, | ||
integer(c_int) | myInfo, | ||
integer(c_int) | batch_count | ||
) |
◆ rocsolver_sgetf2_npvt_batched_rank_0()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetf2_npvt_batched::rocsolver_sgetf2_npvt_batched_rank_0 | ( | type(c_ptr) | handle, |
integer(c_int) | m, | ||
integer(c_int) | n, | ||
real(c_float), target | A, | ||
integer(c_int) | lda, | ||
integer(c_int) | myInfo, | ||
integer(c_int) | batch_count | ||
) |
◆ rocsolver_sgetf2_npvt_batched_rank_1()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_sgetf2_npvt_batched::rocsolver_sgetf2_npvt_batched_rank_1 | ( | type(c_ptr) | handle, |
integer(c_int) | m, | ||
integer(c_int) | n, | ||
real(c_float), dimension(:), target | A, | ||
integer(c_int) | lda, | ||
integer(c_int) | myInfo, | ||
integer(c_int) | batch_count | ||
) |
The documentation for this interface was generated from the following file: