rocsparse_create_mat_descr Interface Reference#
hipfort_rocsparse::rocsparse_create_mat_descr Interface Reference
Create a matrix descriptor. More...
Public Member Functions | |
integer(kind(rocsparse_status_success)) function | rocsparse_create_mat_descr_ (descr) |
Detailed Description
Create a matrix descriptor.
rocsparse_create_mat_descr
creates a matrix descriptor. It initializes rocsparse_matrix_type
to rocsparse_matrix_type_general
and rocsparse_index_base
to rocsparse_index_base_zero
. It should be destroyed at the end using rocsparse_destroy_mat_descr().
- Parameters
-
[out] descr the pointer to the matrix descriptor.
- Return values
-
rocsparse_status_success the operation completed successfully. rocsparse_status_invalid_pointer descr
pointer is invalid.
Member Function/Subroutine Documentation
◆ rocsparse_create_mat_descr_()
integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_create_mat_descr::rocsparse_create_mat_descr_ | ( | type(c_ptr) | descr | ) |
The documentation for this interface was generated from the following file: