rocsparse_spmat_get_format Interface Reference#
hipfort_rocsparse::rocsparse_spmat_get_format Interface Reference
Get the sparse matrix format from the sparse matrix descriptor. More...
Public Member Functions | |
| integer(kind(rocsparse_status_success)) function | rocsparse_spmat_get_format_ (descr, myformat) |
Detailed Description
Get the sparse matrix format from the sparse matrix descriptor.
- Parameters
-
[in] descr - the pointer to the sparse matrix descriptor. [out] myFormat - rocsparse_format_coo,rocsparse_format_coo_aos,rocsparse_format_csr,rocsparse_format_csc, orrocsparse_format_ell
- Return values
-
rocsparse_status_success the operation completed successfully. rocsparse_status_invalid_pointer if descris invalid.rocsparse_status_invalid_value if formatis invalid.
Member Function/Subroutine Documentation
◆ rocsparse_spmat_get_format_()
| integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_spmat_get_format::rocsparse_spmat_get_format_ | ( | type(c_ptr), value | descr, |
| type(c_ptr), value | myformat | ||
| ) |
The documentation for this interface was generated from the following file: