hipsparsegeterrorname Interface Reference#
Return the string representation of a hipSPARSE status's matching backend status enum name. More...
Public Member Functions | |
| character(c_char) function | hipsparsegeterrorname_ (status) |
Detailed Description
Return the string representation of a hipSPARSE status's matching backend status enum name.
hipsparseGetErrorName takes a hipSPARSE status as input and first converts it to the matching backend status (either rocsparse_status or cusparseStatus_t). It then returns the string representation of this status enum name. If the status is not recognized, the function returns "Unrecognized status code".
For example, hipsparseGetErrorName( HIPSPARSE_STATUS_SUCCESS ) on a system with a rocSPARSE backend will return rocsparse_status_success. On a system with a cuSPARSE backend this function would return CUSPARSE_STATUS_SUCCESS.
Member Function/Subroutine Documentation
◆ hipsparsegeterrorname_()
| character(c_char) function hipfort_hipsparse::hipsparsegeterrorname::hipsparsegeterrorname_ | ( | integer(kind(hipsparse_status_success)), value | status | ) |
The documentation for this interface was generated from the following file: