@@ -1111,61 +1111,6 @@ function SciMLBase.solve!(cache::LinearCache, alg::DiagonalFactorization;
11111111 SciMLBase. build_linear_solution (alg, cache. u, nothing , cache)
11121112end
11131113
1114- # # CUSOLVERRFFactorization
1115-
1116- """
1117- `CUSOLVERRFFactorization(; symbolic = :RF, reuse_symbolic = true)`
1118-
1119- A GPU-accelerated sparse LU factorization using NVIDIA's cusolverRF library.
1120- This solver is specifically designed for sparse matrices on CUDA GPUs and
1121- provides high-performance factorization and solve capabilities.
1122-
1123- ## Keyword Arguments
1124-
1125- - `symbolic`: The symbolic factorization method to use. Options are:
1126- - `:RF` (default): Use cusolverRF's built-in symbolic analysis
1127- - `:KLU`: Use KLU for symbolic analysis
1128- - `reuse_symbolic`: Whether to reuse the symbolic factorization when the
1129- sparsity pattern doesn't change (default: `true`)
1130-
1131- !!! note
1132- This solver requires CUSOLVERRF.jl to be loaded and only supports
1133- `Float64` element types with `Int32` indices.
1134- """
1135- Base. @kwdef struct CUSOLVERRFFactorization <: AbstractSparseFactorization
1136- symbolic:: Symbol = :RF
1137- reuse_symbolic:: Bool = true
1138- end
1139-
1140- function init_cacheval (alg:: CUSOLVERRFFactorization ,
1141- A, b, u, Pl, Pr,
1142- maxiters:: Int , abstol, reltol,
1143- verbose:: Bool , assumptions:: OperatorAssumptions )
1144- nothing
1145- end
1146-
1147- function SciMLBase. solve! (cache:: LinearCache , alg:: CUSOLVERRFFactorization ; kwargs... )
1148- error_no_cusolverrf (cache. A)
1149- error (" CUSOLVERRFFactorization requires CUSOLVERRF.jl to be loaded" )
1150- end
1151-
1152- ALREADY_WARNED_CUSOLVERRF = Ref {Bool} (false )
1153- cusolverrf_loaded (A) = false
1154-
1155- function error_no_cusolverrf (A)
1156- if LinearSolve. cusolverrf_loaded (A)
1157- return nothing
1158- end
1159- if ! ALREADY_WARNED_CUSOLVERRF[]
1160- @error """
1161- Attempt to use CUSOLVERRFFactorization without loading CUSOLVERRF.jl.
1162- Please load the library first with `using CUSOLVERRF`.
1163- """
1164- ALREADY_WARNED_CUSOLVERRF[] = true
1165- end
1166- return nothing
1167- end
1168-
11691114# # SparspakFactorization is here since it's MIT licensed, not GPL
11701115
11711116"""
0 commit comments