Commit aca3737
Fix default algorithm for sparse CUDA matrices to LUFactorization
Previously:
- CuSparseMatrixCSC defaulted to GenericLU (not GPU compatible)
- CuSparseMatrixCSR fell back to Krylov when CUDSS unavailable (not GPU compatible)
- Symmetric sparse matrices defaulted to Cholesky (not GPU compatible)
Changes:
- Both CuSparseMatrixCSC and CuSparseMatrixCSR now default to LUFactorization
- Removed Krylov fallback - if CUDSS is not loaded, clear error message is shown
- Added cudss_loaded() support for CuSparseMatrixCSC
- Added error_no_cudss_lu() for CuSparseMatrixCSC
Fixes #827
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent bbfa99d commit aca3737
2 files changed
+14
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
| |||
38 | 35 | | |
39 | 36 | | |
40 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
0 commit comments