hipsparsexcoosortbyrow Interface Reference

hipsparsexcoosortbyrow Interface Reference#

HIPFORT API Reference: hipfort_hipsparse::hipsparsexcoosortbyrow Interface Reference
hipfort_hipsparse::hipsparsexcoosortbyrow Interface Reference

Sort a sparse COO matrix by row. More...

Public Member Functions

integer(kind(hipsparse_status_success)) function hipsparsexcoosortbyrow_ (handle, m, n, nnz, cooRows, cooCols, P, pBuffer)
 
integer(kind(hipsparse_status_success)) function hipsparsexcoosortbyrow_full_rank (handle, m, n, nnz, cooRows, cooCols, P, pBuffer)
 
integer(kind(hipsparse_status_success)) function hipsparsexcoosortbyrow_rank_0 (handle, m, n, nnz, cooRows, cooCols, P, pBuffer)
 
integer(kind(hipsparse_status_success)) function hipsparsexcoosortbyrow_rank_1 (handle, m, n, nnz, cooRows, cooCols, P, pBuffer)
 

Detailed Description

Sort a sparse COO matrix by row.

hipsparseXcoosortByRow sorts a matrix in COO format by row. 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().

hipsparseXcoosortByRow 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 be NULL 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

◆ hipsparsexcoosortbyrow_()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcoosortbyrow::hipsparsexcoosortbyrow_ ( 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 
)

◆ hipsparsexcoosortbyrow_full_rank()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcoosortbyrow::hipsparsexcoosortbyrow_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 
)

◆ hipsparsexcoosortbyrow_rank_0()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcoosortbyrow::hipsparsexcoosortbyrow_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 
)

◆ hipsparsexcoosortbyrow_rank_1()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcoosortbyrow::hipsparsexcoosortbyrow_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: