rocsparse_create_handle Interface Reference

rocsparse_create_handle Interface Reference#

HIPFORT API Reference: hipfort_rocsparse::rocsparse_create_handle Interface Reference
hipfort_rocsparse::rocsparse_create_handle Interface Reference

Create a rocsparse handle. More...

Public Member Functions

integer(kind(rocsparse_status_success)) function rocsparse_create_handle_ (handle)

Detailed Description

Create a rocsparse handle.

rocsparse_create_handle creates the rocSPARSE library context. It must be initialized before any other rocSPARSE API function is invoked and must be passed to all subsequent library function calls. The handle should be destroyed at the end using rocsparse_destroy_handle().

[out]handlethe pointer to the handle to the rocSPARSE library context.
Return values
rocsparse_status_successthe initialization succeeded.
rocsparse_status_invalid_handlehandle pointer is invalid.
rocsparse_status_internal_erroran internal error occurred.

Member Function/Subroutine Documentation

◆ rocsparse_create_handle_()

integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_create_handle::rocsparse_create_handle_ ( type(c_ptr)  handle)

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