-
aoclsparse_status aoclsparse_create_mat_descr(aoclsparse_mat_descr *descr)#
Create a matrix descriptor.
aoclsparse_create_mat_descrcreates a matrix descriptor. It initializes aoclsparse_matrix_type to aoclsparse_matrix_type_general and aoclsparse_index_base to aoclsparse_index_base_zero. It should be destroyed at the end using aoclsparse_destroy_mat_descr().- Parameters:
descr – [out] the pointer to the matrix descriptor.
- Return values:
aoclsparse_status_success – the operation completed successfully.
aoclsparse_status_invalid_pointer –
descrpointer is invalid.