-
aoclsparse_status aoclsparse_set_mat_fill_mode(aoclsparse_mat_descr descr, aoclsparse_fill_mode fill_mode)#
Specify the matrix fill mode of a matrix descriptor.
aoclsparse_set_mat_fill_modesets the matrix fill mode of a matrix descriptor. Valid fill modes are aoclsparse_fill_mode_lower or aoclsparse_fill_mode_upper.- Parameters:
descr – [inout] the matrix descriptor.
fill_mode – [in] aoclsparse_fill_mode_lower or aoclsparse_fill_mode_upper.
- Return values:
aoclsparse_status_success – the operation completed successfully.
aoclsparse_status_invalid_pointer –
descrpointer is invalid.aoclsparse_status_invalid_value –
fill_modeis invalid.