rocsparse_handle_destroy Interface Reference

rocsparse_handle_destroy Interface Reference#

HIPFORT API Reference: hipfort_rocsparse::rocsparse_handle_destroy Interface Reference
hipfort_rocsparse::rocsparse_handle_destroy Interface Reference

Destroy a rocSPARSE handle. More...

Public Member Functions

integer(kind(rocsparse_status_success)) function rocsparse_handle_destroy_ (handle, p_error)
 

Detailed Description

Destroy a rocSPARSE handle.

rocsparse_handle_destroy destroys the rocSPARSE library context and releases all resources used by the rocSPARSE library.

Parameters
[in]handle- the handle to the rocSPARSE library context, which can be a null pointer.
[out]p_error- error descriptor created if the returned status is not rocsparse_status_success. A null pointer can be passed if an error descriptor is not required.
Return values
rocsparse_status_successthe operation completed successfully.
rocsparse_status_internal_erroran internal error occurred.

Member Function/Subroutine Documentation

◆ rocsparse_handle_destroy_()

integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_handle_destroy::rocsparse_handle_destroy_ ( type(c_ptr), value  handle,
type(c_ptr)  p_error 
)

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