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

rocsparse_bsrsv_clear Interface Reference

rocsparse_bsrsv_clear Interface Reference#

HIPFORT API Reference: hipfort_rocsparse::rocsparse_bsrsv_clear Interface Reference
hipfort_rocsparse::rocsparse_bsrsv_clear Interface Reference

Sparse triangular solve using BSR storage format. More...

Public Member Functions

integer(kind(rocsparse_status_success)) function rocsparse_bsrsv_clear_ (handle, myInfo)
 

Detailed Description

Sparse triangular solve using BSR storage format.

rocsparse_bsrsv_clear deallocates all memory that was allocated by rocsparse_sbsrsv_analysis(), rocsparse_dbsrsv_analysis(), rocsparse_cbsrsv_analysis() or rocsparse_zbsrsv_analysis(). This is especially useful, if memory is an issue and the analysis data is not required for further computation, e.g. when switching to another sparse matrix format. Calling rocsparse_bsrsv_clear is optional. All allocated resources will be cleared, when the opaque rocsparse_mat_info struct is destroyed using rocsparse_destroy_mat_info().

Parameters
[in]handlehandle to the rocsparse library context queue.
[in,out]infostructure that holds the information collected during the analysis step.
Return values
rocsparse_status_successthe operation completed successfully.
rocsparse_status_invalid_handlethe library context was not initialized.
rocsparse_status_invalid_pointerinfo pointer is invalid.
rocsparse_status_memory_errorthe buffer holding the meta data could not be deallocated.
rocsparse_status_internal_erroran internal error occurred.

Member Function/Subroutine Documentation

◆ rocsparse_bsrsv_clear_()

integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_bsrsv_clear::rocsparse_bsrsv_clear_ ( type(c_ptr), value  handle,
type(c_ptr), value  myInfo 
)

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