rocsparse_spmat_get_format Interface Reference

rocsparse_spmat_get_format Interface Reference#

HIPFORT API Reference: hipfort_rocsparse::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, or rocsparse_format_ell
Return values
rocsparse_status_successthe operation completed successfully.
rocsparse_status_invalid_pointerif descr is invalid.
rocsparse_status_invalid_valueif format is 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: