hipsparsexcscsort Interface Reference#
hipfort_hipsparse::hipsparsexcscsort Interface Reference
Sort a sparse CSC matrix. More...
Public Member Functions | |
| integer(kind(hipsparse_status_success)) function | hipsparsexcscsort_ (handle, m, n, nnz, descrA, cscColPtr, cscRowInd, P, pBuffer) |
| integer(kind(hipsparse_status_success)) function | hipsparsexcscsort_full_rank (handle, m, n, nnz, descrA, cscColPtr, cscRowInd, P, pBuffer) |
| integer(kind(hipsparse_status_success)) function | hipsparsexcscsort_rank_0 (handle, m, n, nnz, descrA, cscColPtr, cscRowInd, P, pBuffer) |
| integer(kind(hipsparse_status_success)) function | hipsparsexcscsort_rank_1 (handle, m, n, nnz, descrA, cscColPtr, cscRowInd, P, pBuffer) |
Detailed Description
Sort a sparse CSC matrix.
hipsparseXcscsort sorts a matrix in CSC format. The sorted permutation vector perm can be used to obtain sorted csc_val array. In this case, perm must be initialized as the identity permutation, see hipsparseCreateIdentityPermutation().
hipsparseXcscsort requires extra temporary storage buffer that has to be allocated by the user. Storage buffer size can be determined by hipsparseXcscsort_bufferSizeExt().
- Note
permcan beNULLif 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
◆ hipsparsexcscsort_()
| integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcscsort::hipsparsexcscsort_ | ( | 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 | cscColPtr, | ||
| type(c_ptr), value | cscRowInd, | ||
| type(c_ptr), value | P, | ||
| type(c_ptr), value | pBuffer | ||
| ) |
◆ hipsparsexcscsort_full_rank()
| integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcscsort::hipsparsexcscsort_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 | cscColPtr, | ||
| integer(c_int), dimension(:), target | cscRowInd, | ||
| integer(c_int), dimension(:,:), target | P, | ||
| type(c_ptr) | pBuffer | ||
| ) |
◆ hipsparsexcscsort_rank_0()
| integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcscsort::hipsparsexcscsort_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 | cscColPtr, | ||
| integer(c_int), target | cscRowInd, | ||
| integer(c_int), target | P, | ||
| type(c_ptr) | pBuffer | ||
| ) |
◆ hipsparsexcscsort_rank_1()
| integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcscsort::hipsparsexcscsort_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 | cscColPtr, | ||
| integer(c_int), dimension(:), target | cscRowInd, | ||
| integer(c_int), dimension(:), target | P, | ||
| type(c_ptr) | pBuffer | ||
| ) |
The documentation for this interface was generated from the following file: