rocsparse_set_mat_index_base Interface Reference#
hipfort_rocsparse::rocsparse_set_mat_index_base Interface Reference
Specify the index base of a matrix descriptor. More...
Public Member Functions | |
| integer(kind(rocsparse_status_success)) function | rocsparse_set_mat_index_base_ (descr, base) |
Detailed Description
Specify the index base of a matrix descriptor.
rocsparse_set_mat_index_base sets the index base of a matrix descriptor. Valid options are rocsparse_index_base_zero or rocsparse_index_base_one.
- Parameters
-
[in,out] descr the matrix descriptor. [in] base rocsparse_index_base_zeroorrocsparse_index_base_one.
- Return values
-
rocsparse_status_success the operation completed successfully. rocsparse_status_invalid_pointer descrpointer is invalid.rocsparse_status_invalid_value baseis invalid.
Member Function/Subroutine Documentation
◆ rocsparse_set_mat_index_base_()
| integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_set_mat_index_base::rocsparse_set_mat_index_base_ | ( | type(c_ptr), value | descr, |
| integer(kind(rocsparse_index_base_zero)), value | base | ||
| ) |
The documentation for this interface was generated from the following file: