hipsparsexcsr2coo Interface Reference

hipsparsexcsr2coo Interface Reference#

HIPFORT API Reference: hipfort_hipsparse::hipsparsexcsr2coo Interface Reference
hipfort_hipsparse::hipsparsexcsr2coo Interface Reference

Convert a sparse CSR matrix into a sparse COO matrix. More...

Public Member Functions

integer(kind(hipsparse_status_success)) function hipsparsexcsr2coo_ (handle, csrRowPtr, nnz, m, cooRowInd, idxBase)
 
integer(kind(hipsparse_status_success)) function hipsparsexcsr2coo_rank_0 (handle, csrRowPtr, nnz, m, cooRowInd, idxBase)
 
integer(kind(hipsparse_status_success)) function hipsparsexcsr2coo_rank_1 (handle, csrRowPtr, nnz, m, cooRowInd, idxBase)
 

Detailed Description

Convert a sparse CSR matrix into a sparse COO matrix.

hipsparseXcsr2coo converts the CSR array containing the row offsets, that point to the start of every row, into a COO array of row indices.

Note
It can also be used to convert a CSC array containing the column offsets into a COO array of column indices.
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

◆ hipsparsexcsr2coo_()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsr2coo::hipsparsexcsr2coo_ ( type(c_ptr), value  handle,
type(c_ptr), value  csrRowPtr,
integer(c_int), value  nnz,
integer(c_int), value  m,
type(c_ptr), value  cooRowInd,
integer(kind(hipsparse_index_base_zero)), value  idxBase 
)

◆ hipsparsexcsr2coo_rank_0()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsr2coo::hipsparsexcsr2coo_rank_0 ( type(c_ptr)  handle,
integer(c_int), target  csrRowPtr,
integer(c_int)  nnz,
integer(c_int)  m,
integer(c_int), target  cooRowInd,
integer(kind(hipsparse_index_base_zero))  idxBase 
)

◆ hipsparsexcsr2coo_rank_1()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsr2coo::hipsparsexcsr2coo_rank_1 ( type(c_ptr)  handle,
integer(c_int), dimension(:), target  csrRowPtr,
integer(c_int)  nnz,
integer(c_int)  m,
integer(c_int), dimension(:), target  cooRowInd,
integer(kind(hipsparse_index_base_zero))  idxBase 
)

The documentation for this interface was generated from the following file: