rocsparse_csrmv_clear Interface Reference#
hipfort_rocsparse::rocsparse_csrmv_clear Interface Reference
Sparse matrix vector multiplication using CSR storage format. More...
Public Member Functions | |
integer(kind(rocsparse_status_success)) function | rocsparse_csrmv_clear_ (handle, myInfo) |
Detailed Description
Sparse matrix vector multiplication using CSR storage format.
rocsparse_csrmv_clear
deallocates all memory that was allocated by rocsparse_scsrmv_analysis(), rocsparse_dcsrmv_analysis(), rocsparse_ccsrmv_analysis() or rocsparse_zcsrmv_analysis(). This is especially useful, if memory is an issue and the analysis data is not required anymore for further computation, e.g. when switching to another sparse matrix format.
- Note
- Calling
rocsparse_csrmv_clear
is optional. All allocated resources will be cleared, when the opaquerocsparse_mat_info
struct is destroyed using rocsparse_destroy_mat_info().
- Parameters
-
[in] handle handle to the rocsparse library context queue. [in,out] info structure that holds the information collected during analysis step.
- Return values
-
rocsparse_status_success the operation completed successfully. rocsparse_status_invalid_handle the library context was not initialized. rocsparse_status_invalid_pointer info
pointer is invalid.rocsparse_status_memory_error the buffer for the gathered information could not be deallocated. rocsparse_status_internal_error an internal error occurred.
Member Function/Subroutine Documentation
◆ rocsparse_csrmv_clear_()
integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_csrmv_clear::rocsparse_csrmv_clear_ | ( | type(c_ptr), value | handle, |
type(c_ptr), value | myInfo | ||
) |
The documentation for this interface was generated from the following file: