Add match order fallback.

This commit is contained in:
Seunghoon Lee 2024-03-20 14:59:10 +09:00
parent 2b52d0a040
commit 87d2e3e163
No known key found for this signature in database
GPG key ID: 91024D13C6CA4722

View file

@ -113,6 +113,7 @@ fn order(order: cusparseOrder_t) -> rocsparse_order {
match order {
cusparseOrder_t::CUSPARSE_ORDER_COL => rocsparse_order::rocsparse_order_column,
cusparseOrder_t::CUSPARSE_ORDER_ROW => rocsparse_order::rocsparse_order_row,
_ => panic!(),
}
}