Skip to content

Commit 4958c38

Browse files
Remove non-LU algorithms from _string_to_algorithm_choice
Removed non-LU algorithms from the preference system: - QRFactorization - CholeskyFactorization - SVDFactorization - BunchKaufmanFactorization - LDLtFactorization Now only LU algorithms are supported in the autotune preference system, which matches the focus on LU algorithm selection for dense matrices. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 66faf95 commit 4958c38

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/LinearSolve.jl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -305,17 +305,6 @@ function _string_to_algorithm_choice(algorithm_name::Union{String, Nothing})
305305
return DefaultAlgorithmChoice.LUFactorization # Map to standard LU (Metal extension)
306306
elseif algorithm_name == "AMDGPUOffloadLUFactorization"
307307
return DefaultAlgorithmChoice.LUFactorization # Map to standard LU (AMDGPU extension)
308-
# Non-LU algorithms (not typically tuned in default selection but support for completeness)
309-
elseif algorithm_name == "QRFactorization"
310-
return DefaultAlgorithmChoice.QRFactorization
311-
elseif algorithm_name == "CholeskyFactorization"
312-
return DefaultAlgorithmChoice.CholeskyFactorization
313-
elseif algorithm_name == "SVDFactorization"
314-
return DefaultAlgorithmChoice.SVDFactorization
315-
elseif algorithm_name == "BunchKaufmanFactorization"
316-
return DefaultAlgorithmChoice.BunchKaufmanFactorization
317-
elseif algorithm_name == "LDLtFactorization"
318-
return DefaultAlgorithmChoice.LDLtFactorization
319308
else
320309
@warn "Unknown algorithm preference: $algorithm_name, falling back to heuristics"
321310
return nothing

0 commit comments

Comments
 (0)