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

hipsparsexgebsr2gebsrnnz Interface Reference

hipsparsexgebsr2gebsrnnz Interface Reference#

HIPFORT API Reference: hipfort_hipsparse::hipsparsexgebsr2gebsrnnz Interface Reference
hipfort_hipsparse::hipsparsexgebsr2gebsrnnz Interface Reference

This function is used when converting a general BSR sparse matrix A to another general BSR sparse matrix C. More...

Public Member Functions

integer(kind(hipsparse_status_success)) function hipsparsexgebsr2gebsrnnz_ (handle, dirA, mb, nb, nnzb, descrA, bsrRowPtrA, bsrColIndA, rowBlockDimA, colBlockDimA, descrC, bsrRowPtrC, rowBlockDimC, colBlockDimC, nnzTotalDevHostPtr, buffer)
 
integer(kind(hipsparse_status_success)) function hipsparsexgebsr2gebsrnnz_rank_0 (handle, dirA, mb, nb, nnzb, descrA, bsrRowPtrA, bsrColIndA, rowBlockDimA, colBlockDimA, descrC, bsrRowPtrC, rowBlockDimC, colBlockDimC, nnzTotalDevHostPtr, buffer)
 
integer(kind(hipsparse_status_success)) function hipsparsexgebsr2gebsrnnz_rank_1 (handle, dirA, mb, nb, nnzb, descrA, bsrRowPtrA, bsrColIndA, rowBlockDimA, colBlockDimA, descrC, bsrRowPtrC, rowBlockDimC, colBlockDimC, nnzTotalDevHostPtr, buffer)
 

Detailed Description

This function is used when converting a general BSR sparse matrix A to another general BSR sparse matrix C.

Specifically, this function determines the number of non-zero blocks that will exist in C (stored using either a host or device pointer), and computes the row pointer array for C.

The routine does support asynchronous execution.

Member Function/Subroutine Documentation

◆ hipsparsexgebsr2gebsrnnz_()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexgebsr2gebsrnnz::hipsparsexgebsr2gebsrnnz_ ( type(c_ptr), value  handle,
integer(kind(hipsparse_direction_row)), value  dirA,
integer(c_int), value  mb,
integer(c_int), value  nb,
integer(c_int), value  nnzb,
type(c_ptr), value  descrA,
type(c_ptr), value  bsrRowPtrA,
type(c_ptr), value  bsrColIndA,
integer(c_int), value  rowBlockDimA,
integer(c_int), value  colBlockDimA,
type(c_ptr), value  descrC,
type(c_ptr), value  bsrRowPtrC,
integer(c_int), value  rowBlockDimC,
integer(c_int), value  colBlockDimC,
integer(c_int)  nnzTotalDevHostPtr,
type(c_ptr), value  buffer 
)

◆ hipsparsexgebsr2gebsrnnz_rank_0()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexgebsr2gebsrnnz::hipsparsexgebsr2gebsrnnz_rank_0 ( type(c_ptr)  handle,
integer(kind(hipsparse_direction_row))  dirA,
integer(c_int)  mb,
integer(c_int)  nb,
integer(c_int)  nnzb,
type(c_ptr)  descrA,
integer(c_int), target  bsrRowPtrA,
integer(c_int), target  bsrColIndA,
integer(c_int)  rowBlockDimA,
integer(c_int)  colBlockDimA,
type(c_ptr)  descrC,
integer(c_int), target  bsrRowPtrC,
integer(c_int)  rowBlockDimC,
integer(c_int)  colBlockDimC,
integer(c_int)  nnzTotalDevHostPtr,
type(c_ptr)  buffer 
)

◆ hipsparsexgebsr2gebsrnnz_rank_1()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexgebsr2gebsrnnz::hipsparsexgebsr2gebsrnnz_rank_1 ( type(c_ptr)  handle,
integer(kind(hipsparse_direction_row))  dirA,
integer(c_int)  mb,
integer(c_int)  nb,
integer(c_int)  nnzb,
type(c_ptr)  descrA,
integer(c_int), dimension(:), target  bsrRowPtrA,
integer(c_int), dimension(:), target  bsrColIndA,
integer(c_int)  rowBlockDimA,
integer(c_int)  colBlockDimA,
type(c_ptr)  descrC,
integer(c_int), dimension(:), target  bsrRowPtrC,
integer(c_int)  rowBlockDimC,
integer(c_int)  colBlockDimC,
integer(c_int)  nnzTotalDevHostPtr,
type(c_ptr)  buffer 
)

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