hipsparsexcoosortbycolumn Interface Reference#
hipfort_hipsparse::hipsparsexcoosortbycolumn Interface Reference
Sort a sparse COO matrix by column. More...
Public Member Functions | |
integer(kind(hipsparse_status_success)) function | hipsparsexcoosortbycolumn_ (handle, m, n, nnz, cooRows, cooCols, P, pBuffer) |
integer(kind(hipsparse_status_success)) function | hipsparsexcoosortbycolumn_full_rank (handle, m, n, nnz, cooRows, cooCols, P, pBuffer) |
integer(kind(hipsparse_status_success)) function | hipsparsexcoosortbycolumn_rank_0 (handle, m, n, nnz, cooRows, cooCols, P, pBuffer) |
integer(kind(hipsparse_status_success)) function | hipsparsexcoosortbycolumn_rank_1 (handle, m, n, nnz, cooRows, cooCols, P, pBuffer) |
Detailed Description
Sort a sparse COO matrix by column.
hipsparseXcoosortByColumn
sorts a matrix in COO format by column. The sorted permutation vector perm
can be used to obtain sorted coo_val
array. In this case, perm
must be initialized as the identity permutation, see hipsparseCreateIdentityPermutation().
hipsparseXcoosortByColumn
requires extra temporary storage buffer that has to be allocated by the user. Storage buffer size can be determined by hipsparseXcoosort_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
◆ hipsparsexcoosortbycolumn_()
integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcoosortbycolumn::hipsparsexcoosortbycolumn_ | ( | type(c_ptr), value | handle, |
integer(c_int), value | m, | ||
integer(c_int), value | n, | ||
integer(c_int), value | nnz, | ||
type(c_ptr), value | cooRows, | ||
type(c_ptr), value | cooCols, | ||
type(c_ptr), value | P, | ||
type(c_ptr), value | pBuffer | ||
) |
◆ hipsparsexcoosortbycolumn_full_rank()
integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcoosortbycolumn::hipsparsexcoosortbycolumn_full_rank | ( | type(c_ptr) | handle, |
integer(c_int) | m, | ||
integer(c_int) | n, | ||
integer(c_int) | nnz, | ||
integer(c_int), dimension(:), target | cooRows, | ||
integer(c_int), dimension(:), target | cooCols, | ||
integer(c_int), dimension(:,:), target | P, | ||
type(c_ptr) | pBuffer | ||
) |
◆ hipsparsexcoosortbycolumn_rank_0()
integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcoosortbycolumn::hipsparsexcoosortbycolumn_rank_0 | ( | type(c_ptr) | handle, |
integer(c_int) | m, | ||
integer(c_int) | n, | ||
integer(c_int) | nnz, | ||
integer(c_int), target | cooRows, | ||
integer(c_int), target | cooCols, | ||
integer(c_int), target | P, | ||
type(c_ptr) | pBuffer | ||
) |
◆ hipsparsexcoosortbycolumn_rank_1()
integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcoosortbycolumn::hipsparsexcoosortbycolumn_rank_1 | ( | type(c_ptr) | handle, |
integer(c_int) | m, | ||
integer(c_int) | n, | ||
integer(c_int) | nnz, | ||
integer(c_int), dimension(:), target | cooRows, | ||
integer(c_int), dimension(:), target | cooCols, | ||
integer(c_int), dimension(:), target | P, | ||
type(c_ptr) | pBuffer | ||
) |
The documentation for this interface was generated from the following file: