hipsparsexcsrsort Interface Reference#
hipfort_hipsparse::hipsparsexcsrsort Interface Reference
Sort a sparse CSR matrix. More...
Public Member Functions | |
integer(kind(hipsparse_status_success)) function | hipsparsexcsrsort_ (handle, m, n, nnz, descrA, csrRowPtr, csrColInd, P, pBuffer) |
integer(kind(hipsparse_status_success)) function | hipsparsexcsrsort_full_rank (handle, m, n, nnz, descrA, csrRowPtr, csrColInd, P, pBuffer) |
integer(kind(hipsparse_status_success)) function | hipsparsexcsrsort_rank_0 (handle, m, n, nnz, descrA, csrRowPtr, csrColInd, P, pBuffer) |
integer(kind(hipsparse_status_success)) function | hipsparsexcsrsort_rank_1 (handle, m, n, nnz, descrA, csrRowPtr, csrColInd, P, pBuffer) |
Detailed Description
Sort a sparse CSR matrix.
hipsparseXcsrsort
sorts a matrix in CSR format. The sorted permutation vector perm
can be used to obtain sorted csr_val
array. In this case, perm
must be initialized as the identity permutation, see hipsparseCreateIdentityPermutation().
hipsparseXcsrsort
requires extra temporary storage buffer that has to be allocated by the user. Storage buffer size can be determined by hipsparseXcsrsort_bufferSizeExt().
- Note
perm
can beNULL
if a sorted permutation vector is not required.- This function is non blocking and executed asynchronously with respect to the host. It may return before the actual computation has finished.
Member Function/Subroutine Documentation
◆ hipsparsexcsrsort_()
integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsrsort::hipsparsexcsrsort_ | ( | type(c_ptr), value | handle, |
integer(c_int), value | m, | ||
integer(c_int), value | n, | ||
integer(c_int), value | nnz, | ||
type(c_ptr), value | descrA, | ||
type(c_ptr), value | csrRowPtr, | ||
type(c_ptr), value | csrColInd, | ||
type(c_ptr), value | P, | ||
type(c_ptr), value | pBuffer | ||
) |
◆ hipsparsexcsrsort_full_rank()
integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsrsort::hipsparsexcsrsort_full_rank | ( | type(c_ptr) | handle, |
integer(c_int) | m, | ||
integer(c_int) | n, | ||
integer(c_int) | nnz, | ||
type(c_ptr) | descrA, | ||
integer(c_int), dimension(:), target | csrRowPtr, | ||
integer(c_int), dimension(:), target | csrColInd, | ||
integer(c_int), dimension(:,:), target | P, | ||
type(c_ptr) | pBuffer | ||
) |
◆ hipsparsexcsrsort_rank_0()
integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsrsort::hipsparsexcsrsort_rank_0 | ( | type(c_ptr) | handle, |
integer(c_int) | m, | ||
integer(c_int) | n, | ||
integer(c_int) | nnz, | ||
type(c_ptr) | descrA, | ||
integer(c_int), target | csrRowPtr, | ||
integer(c_int), target | csrColInd, | ||
integer(c_int), target | P, | ||
type(c_ptr) | pBuffer | ||
) |
◆ hipsparsexcsrsort_rank_1()
integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsrsort::hipsparsexcsrsort_rank_1 | ( | type(c_ptr) | handle, |
integer(c_int) | m, | ||
integer(c_int) | n, | ||
integer(c_int) | nnz, | ||
type(c_ptr) | descrA, | ||
integer(c_int), dimension(:), target | csrRowPtr, | ||
integer(c_int), dimension(:), target | csrColInd, | ||
integer(c_int), dimension(:), target | P, | ||
type(c_ptr) | pBuffer | ||
) |
The documentation for this interface was generated from the following file: