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