This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hipsparsexcsr2bsrnnz Interface Reference

hipsparsexcsr2bsrnnz Interface Reference#

HIPFORT API Reference: hipfort_hipsparse::hipsparsexcsr2bsrnnz Interface Reference
hipfort_hipsparse::hipsparsexcsr2bsrnnz Interface Reference

This function computes the number of nonzero block columns per row and the total number of nonzero blocks in a sparse BSR matrix given a sparse CSR matrix as input. More...

Public Member Functions

integer(kind(hipsparse_status_success)) function hipsparsexcsr2bsrnnz_ (handle, dirA, m, n, descrA, csrRowPtrA, csrColIndA, blockDim, descrC, bsrRowPtrC, bsrNnzb)
 
integer(kind(hipsparse_status_success)) function hipsparsexcsr2bsrnnz_rank_0 (handle, dirA, m, n, descrA, csrRowPtrA, csrColIndA, blockDim, descrC, bsrRowPtrC, bsrNnzb)
 
integer(kind(hipsparse_status_success)) function hipsparsexcsr2bsrnnz_rank_1 (handle, dirA, m, n, descrA, csrRowPtrA, csrColIndA, blockDim, descrC, bsrRowPtrC, bsrNnzb)
 

Detailed Description

This function computes the number of nonzero block columns per row and the total number of nonzero blocks in a sparse BSR matrix given a sparse CSR matrix as input.

The routine does support asynchronous execution if the pointer mode is set to device.

Member Function/Subroutine Documentation

◆ hipsparsexcsr2bsrnnz_()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsr2bsrnnz::hipsparsexcsr2bsrnnz_ ( type(c_ptr), value  handle,
integer(kind(hipsparse_direction_row)), value  dirA,
integer(c_int), value  m,
integer(c_int), value  n,
type(c_ptr), value  descrA,
type(c_ptr), value  csrRowPtrA,
type(c_ptr), value  csrColIndA,
integer(c_int), value  blockDim,
type(c_ptr), value  descrC,
type(c_ptr), value  bsrRowPtrC,
type(c_ptr), value  bsrNnzb 
)

◆ hipsparsexcsr2bsrnnz_rank_0()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsr2bsrnnz::hipsparsexcsr2bsrnnz_rank_0 ( type(c_ptr)  handle,
integer(kind(hipsparse_direction_row))  dirA,
integer(c_int)  m,
integer(c_int)  n,
type(c_ptr)  descrA,
integer(c_int), target  csrRowPtrA,
integer(c_int), target  csrColIndA,
integer(c_int)  blockDim,
type(c_ptr)  descrC,
integer(c_int), target  bsrRowPtrC,
integer(c_int), target  bsrNnzb 
)

◆ hipsparsexcsr2bsrnnz_rank_1()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsr2bsrnnz::hipsparsexcsr2bsrnnz_rank_1 ( type(c_ptr)  handle,
integer(kind(hipsparse_direction_row))  dirA,
integer(c_int)  m,
integer(c_int)  n,
type(c_ptr)  descrA,
integer(c_int), dimension(:), target  csrRowPtrA,
integer(c_int), dimension(:), target  csrColIndA,
integer(c_int)  blockDim,
type(c_ptr)  descrC,
integer(c_int), dimension(:), target  bsrRowPtrC,
integer(c_int), dimension(:), target  bsrNnzb 
)

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