rocsolver_slaswp Interface Reference#
hipfort_rocsolver::rocsolver_slaswp Interface Reference
! More...
Public Member Functions | |
integer(kind(rocblas_status_success)) function | rocsolver_slaswp_full_rank (handle, n, A, lda, k1, k2, ipiv, incx) |
integer(kind(rocblas_status_success)) function | rocsolver_slaswp_orig (handle, n, A, lda, k1, k2, ipiv, incx) |
integer(kind(rocblas_status_success)) function | rocsolver_slaswp_rank_0 (handle, n, A, lda, k1, k2, ipiv, incx) |
integer(kind(rocblas_status_success)) function | rocsolver_slaswp_rank_1 (handle, n, A, lda, k1, k2, ipiv, incx) |
Detailed Description
!
LASWP performs a series of row interchanges on the matrix A.
It interchanges row I with row IPIV[k1 + (I - k1) abs(inx)], for each of rows K1 through K2 of A. k1 and k2 are 1-based indices.
- Parameters
-
[in] handle rocblas_handle [in] n rocblas_int. n >= 0.
The number of columns of the matrix A.[in,out] A pointer to type. Array on the GPU of dimension ldan.
On entry, the matrix of column dimension n to which the row interchanges will be applied. On exit, the permuted matrix.[in] lda rocblas_int. lda > 0.
The leading dimension of the array A.[in] k1 rocblas_int. k1 > 0.
The first element of IPIV for which a row interchange will be done. This is a 1-based index.[in] k2 rocblas_int. k2 > k1 > 0.
(K2-K1+1) is the number of elements of IPIV for which a row interchange will be done. This is a 1-based index.[in] ipiv pointer to rocblas_int. Array on the GPU of dimension at least k1 + (k2 - k1) abs(incx).
The vector of pivot indices. Only the elements in positions k1 through (k1 + (k2 - k1) abs(incx)) of IPIV are accessed. Elements of ipiv are considered 1-based.[in] incx rocblas_int. incx != 0.
The increment between successive values of IPIV. If IPIV is negative, the pivots are applied in reverse order.
Member Function/Subroutine Documentation
◆ rocsolver_slaswp_full_rank()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_slaswp::rocsolver_slaswp_full_rank | ( | type(c_ptr), value | handle, |
integer(c_int), value | n, | ||
real(c_float), dimension(:,:), target | A, | ||
integer(c_int), value | lda, | ||
integer(c_int), value | k1, | ||
integer(c_int), value | k2, | ||
integer(c_int), dimension(:), target | ipiv, | ||
integer(c_int), value | incx | ||
) |
◆ rocsolver_slaswp_orig()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_slaswp::rocsolver_slaswp_orig | ( | type(c_ptr), value | handle, |
integer(c_int), value | n, | ||
type(c_ptr), value | A, | ||
integer(c_int), value | lda, | ||
integer(c_int), value | k1, | ||
integer(c_int), value | k2, | ||
type(c_ptr), value | ipiv, | ||
integer(c_int), value | incx | ||
) |
◆ rocsolver_slaswp_rank_0()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_slaswp::rocsolver_slaswp_rank_0 | ( | type(c_ptr), value | handle, |
integer(c_int), value | n, | ||
real(c_float), target | A, | ||
integer(c_int), value | lda, | ||
integer(c_int), value | k1, | ||
integer(c_int), value | k2, | ||
integer(c_int), target | ipiv, | ||
integer(c_int), value | incx | ||
) |
◆ rocsolver_slaswp_rank_1()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_slaswp::rocsolver_slaswp_rank_1 | ( | type(c_ptr), value | handle, |
integer(c_int), value | n, | ||
real(c_float), dimension(:), target | A, | ||
integer(c_int), value | lda, | ||
integer(c_int), value | k1, | ||
integer(c_int), value | k2, | ||
integer(c_int), dimension(:), target | ipiv, | ||
integer(c_int), value | incx | ||
) |
The documentation for this interface was generated from the following file: