hipsparsesnnz_compress Interface Reference#
hipfort_hipsparse::hipsparsesnnz_compress Interface Reference
Description: This function computes the number of nonzero elements per row and the total number of nonzero elements in the compressed version of the input CSR matrix where the matrix is compressed by removing elements less than pr equal to the tolerance. More...
Public Member Functions | |
integer(kind(hipsparse_status_success)) function | hipsparsesnnz_compress_ (handle, m, descrA, csrValA, csrRowPtrA, nnzPerRow, nnzC, tol) |
integer(kind(hipsparse_status_success)) function | hipsparsesnnz_compress_rank_0 (handle, m, descrA, csrValA, csrRowPtrA, nnzPerRow, nnzC, tol) |
integer(kind(hipsparse_status_success)) function | hipsparsesnnz_compress_rank_1 (handle, m, descrA, csrValA, csrRowPtrA, nnzPerRow, nnzC, tol) |
Detailed Description
Description: This function computes the number of nonzero elements per row and the total number of nonzero elements in the compressed version of the input CSR matrix where the matrix is compressed by removing elements less than pr equal to the tolerance.
Member Function/Subroutine Documentation
◆ hipsparsesnnz_compress_()
integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsesnnz_compress::hipsparsesnnz_compress_ | ( | type(c_ptr), value | handle, |
integer(c_int), value | m, | ||
type(c_ptr), value | descrA, | ||
type(c_ptr), value | csrValA, | ||
type(c_ptr), value | csrRowPtrA, | ||
type(c_ptr), value | nnzPerRow, | ||
type(c_ptr), value | nnzC, | ||
real(c_float), value | tol | ||
) |
◆ hipsparsesnnz_compress_rank_0()
integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsesnnz_compress::hipsparsesnnz_compress_rank_0 | ( | type(c_ptr) | handle, |
integer(c_int) | m, | ||
type(c_ptr) | descrA, | ||
real(c_float), target | csrValA, | ||
integer(c_int), target | csrRowPtrA, | ||
integer(c_int), target | nnzPerRow, | ||
integer(c_int), target | nnzC, | ||
real(c_float) | tol | ||
) |
◆ hipsparsesnnz_compress_rank_1()
integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsesnnz_compress::hipsparsesnnz_compress_rank_1 | ( | type(c_ptr) | handle, |
integer(c_int) | m, | ||
type(c_ptr) | descrA, | ||
real(c_float), dimension(:), target | csrValA, | ||
integer(c_int), dimension(:), target | csrRowPtrA, | ||
integer(c_int), dimension(:), target | nnzPerRow, | ||
integer(c_int), dimension(:), target | nnzC, | ||
real(c_float) | tol | ||
) |
The documentation for this interface was generated from the following file: