Commit 4c55f9e
Fix CUDA functional check in init_cacheval functions (#770)
- Add CUDA.functional() check before creating CUDA arrays in init_cacheval
- Return nothing if CUDA is loaded but not functional
- Fixes issue where CudaOffloadLUFactorization and CudaOffloadQRFactorization
would fail during cache initialization when CUDA is in environment but not usable
- Addresses issue #761
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: ChrisRackauckas <accounts@chrisrackauckas.com>
Co-authored-by: Claude <noreply@anthropic.com>1 parent fc55a8b commit 4c55f9e
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
| |||
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
79 | 89 | | |
80 | 90 | | |
81 | 91 | | |
| |||
0 commit comments