hipsparsexcsrgeam2nnz Interface Reference

hipsparsexcsrgeam2nnz Interface Reference#

HIPFORT API Reference: hipfort_hipsparse::hipsparsexcsrgeam2nnz Interface Reference
hipfort_hipsparse::hipsparsexcsrgeam2nnz Interface Reference

Sparse matrix sparse matrix addition using CSR storage format. More...

Public Member Functions

integer(kind(hipsparse_status_success)) function hipsparsexcsrgeam2nnz_ (handle, m, n, descrA, nnzA, csrSortedRowPtrA, csrSortedColIndA, descrB, nnzB, csrSortedRowPtrB, csrSortedColIndB, descrC, csrSortedRowPtrC, nnzTotalDevHostPtr, workspace)
 
integer(kind(hipsparse_status_success)) function hipsparsexcsrgeam2nnz_rank_0 (handle, m, n, descrA, nnzA, csrSortedRowPtrA, csrSortedColIndA, descrB, nnzB, csrSortedRowPtrB, csrSortedColIndB, descrC, csrSortedRowPtrC, nnzTotalDevHostPtr, workspace)
 
integer(kind(hipsparse_status_success)) function hipsparsexcsrgeam2nnz_rank_1 (handle, m, n, descrA, nnzA, csrSortedRowPtrA, csrSortedColIndA, descrB, nnzB, csrSortedRowPtrB, csrSortedColIndB, descrC, csrSortedRowPtrC, nnzTotalDevHostPtr, workspace)
 

Detailed Description

Sparse matrix sparse matrix addition using CSR storage format.

hipsparseXcsrgeam2Nnz computes the total CSR non-zero elements and the CSR row offsets, that point to the start of every row of the sparse CSR matrix, of the resulting matrix C. It is assumed that csr_row_ptr_C has been allocated with size m + 1.

Note
This function is non blocking and executed asynchronously with respect to the host. It may return before the actual computation has finished.
Currently, only HIPSPARSE_MATRIX_TYPE_GENERAL is supported.

Member Function/Subroutine Documentation

◆ hipsparsexcsrgeam2nnz_()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsrgeam2nnz::hipsparsexcsrgeam2nnz_ ( type(c_ptr), value  handle,
integer(c_int), value  m,
integer(c_int), value  n,
type(c_ptr), value  descrA,
integer(c_int), value  nnzA,
type(c_ptr), value  csrSortedRowPtrA,
type(c_ptr), value  csrSortedColIndA,
type(c_ptr), value  descrB,
integer(c_int), value  nnzB,
type(c_ptr), value  csrSortedRowPtrB,
type(c_ptr), value  csrSortedColIndB,
type(c_ptr), value  descrC,
type(c_ptr), value  csrSortedRowPtrC,
integer(c_int)  nnzTotalDevHostPtr,
type(c_ptr), value  workspace 
)

◆ hipsparsexcsrgeam2nnz_rank_0()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsrgeam2nnz::hipsparsexcsrgeam2nnz_rank_0 ( type(c_ptr)  handle,
integer(c_int)  m,
integer(c_int)  n,
type(c_ptr)  descrA,
integer(c_int)  nnzA,
integer(c_int), target  csrSortedRowPtrA,
integer(c_int), target  csrSortedColIndA,
type(c_ptr)  descrB,
integer(c_int)  nnzB,
integer(c_int), target  csrSortedRowPtrB,
integer(c_int), target  csrSortedColIndB,
type(c_ptr)  descrC,
integer(c_int), target  csrSortedRowPtrC,
integer(c_int)  nnzTotalDevHostPtr,
type(c_ptr)  workspace 
)

◆ hipsparsexcsrgeam2nnz_rank_1()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsrgeam2nnz::hipsparsexcsrgeam2nnz_rank_1 ( type(c_ptr)  handle,
integer(c_int)  m,
integer(c_int)  n,
type(c_ptr)  descrA,
integer(c_int)  nnzA,
integer(c_int), dimension(:), target  csrSortedRowPtrA,
integer(c_int), dimension(:), target  csrSortedColIndA,
type(c_ptr)  descrB,
integer(c_int)  nnzB,
integer(c_int), dimension(:), target  csrSortedRowPtrB,
integer(c_int), dimension(:), target  csrSortedColIndB,
type(c_ptr)  descrC,
integer(c_int), dimension(:), target  csrSortedRowPtrC,
integer(c_int)  nnzTotalDevHostPtr,
type(c_ptr)  workspace 
)

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