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

hipsparsexcsr2gebsrnnz Interface Reference

hipsparsexcsr2gebsrnnz Interface Reference#

HIPFORT API Reference: hipfort_hipsparse::hipsparsexcsr2gebsrnnz Interface Reference
hipfort_hipsparse::hipsparsexcsr2gebsrnnz Interface Reference

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

Public Member Functions

integer(kind(hipsparse_status_success)) function hipsparsexcsr2gebsrnnz_ (handle, dir, m, n, csr_descr, csr_row_ptr, csr_col_ind, bsr_descr, bsr_row_ptr, row_block_dim, col_block_dim, bsr_nnz_devhost, p_buffer)
 
integer(kind(hipsparse_status_success)) function hipsparsexcsr2gebsrnnz_rank_0 (handle, dir, m, n, csr_descr, csr_row_ptr, csr_col_ind, bsr_descr, bsr_row_ptr, row_block_dim, col_block_dim, bsr_nnz_devhost, p_buffer)
 
integer(kind(hipsparse_status_success)) function hipsparsexcsr2gebsrnnz_rank_1 (handle, dir, m, n, csr_descr, csr_row_ptr, csr_col_ind, bsr_descr, bsr_row_ptr, row_block_dim, col_block_dim, bsr_nnz_devhost, p_buffer)
 

Detailed Description

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

Member Function/Subroutine Documentation

◆ hipsparsexcsr2gebsrnnz_()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsr2gebsrnnz::hipsparsexcsr2gebsrnnz_ ( type(c_ptr), value  handle,
integer(kind(hipsparse_direction_row)), value  dir,
integer(c_int), value  m,
integer(c_int), value  n,
type(c_ptr), value  csr_descr,
type(c_ptr), value  csr_row_ptr,
type(c_ptr), value  csr_col_ind,
type(c_ptr), value  bsr_descr,
type(c_ptr), value  bsr_row_ptr,
integer(c_int), value  row_block_dim,
integer(c_int), value  col_block_dim,
type(c_ptr), value  bsr_nnz_devhost,
type(c_ptr), value  p_buffer 
)

◆ hipsparsexcsr2gebsrnnz_rank_0()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsr2gebsrnnz::hipsparsexcsr2gebsrnnz_rank_0 ( type(c_ptr)  handle,
integer(kind(hipsparse_direction_row))  dir,
integer(c_int)  m,
integer(c_int)  n,
type(c_ptr)  csr_descr,
integer(c_int), target  csr_row_ptr,
integer(c_int), target  csr_col_ind,
type(c_ptr)  bsr_descr,
type(c_ptr)  bsr_row_ptr,
integer(c_int)  row_block_dim,
integer(c_int)  col_block_dim,
type(c_ptr)  bsr_nnz_devhost,
type(c_ptr)  p_buffer 
)

◆ hipsparsexcsr2gebsrnnz_rank_1()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcsr2gebsrnnz::hipsparsexcsr2gebsrnnz_rank_1 ( type(c_ptr)  handle,
integer(kind(hipsparse_direction_row))  dir,
integer(c_int)  m,
integer(c_int)  n,
type(c_ptr)  csr_descr,
integer(c_int), dimension(:), target  csr_row_ptr,
integer(c_int), dimension(:), target  csr_col_ind,
type(c_ptr)  bsr_descr,
type(c_ptr)  bsr_row_ptr,
integer(c_int)  row_block_dim,
integer(c_int)  col_block_dim,
type(c_ptr)  bsr_nnz_devhost,
type(c_ptr)  p_buffer 
)

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