rocsparse_set_mat_diag_type Interface Reference#
hipfort_rocsparse::rocsparse_set_mat_diag_type Interface Reference
Specify the matrix diagonal type of a matrix descriptor. More...
Public Member Functions | |
integer(kind(rocsparse_status_success)) function | rocsparse_set_mat_diag_type_ (descr, diag_type) |
Detailed Description
Specify the matrix diagonal type of a matrix descriptor.
rocsparse_set_mat_diag_type
sets the matrix diagonal type of a matrix descriptor. Valid diagonal types are rocsparse_diag_type_unit
or rocsparse_diag_type_non_unit
.
- Parameters
-
[in,out] descr the matrix descriptor. [in] diag_type rocsparse_diag_type_unit
orrocsparse_diag_type_non_unit
.
- Return values
-
rocsparse_status_success the operation completed successfully. rocsparse_status_invalid_pointer descr
pointer is invalid.rocsparse_status_invalid_value diag_type
is invalid.
Member Function/Subroutine Documentation
◆ rocsparse_set_mat_diag_type_()
integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_set_mat_diag_type::rocsparse_set_mat_diag_type_ | ( | type(c_ptr), value | descr, |
integer(kind(rocsparse_diag_type_non_unit)), value | diag_type | ||
) |
The documentation for this interface was generated from the following file: