Skip to content

Commit 7b446d0

Browse files
Add FastLapackInterface.jl's LU to LinearSolveAutotune algorithms
- Added FastLUFactorization to the list of algorithms tested in autotune - Added FastLapackInterface as a dependency to LinearSolveAutotune - The algorithm is now included in benchmarking and preference setting
1 parent 1adf243 commit 7b446d0

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
99
ConcreteStructs = "2569d6c7-a4a2-43d3-a901-331e8e4be471"
1010
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
1111
EnumX = "4e289a0a-7415-4d19-859d-a7e5c4648b56"
12+
FastLapackInterface = "29a986be-02c6-4525-aec4-84b980013641"
1213
GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527"
1314
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
1415
Krylov = "ba0b0d4f-ebba-5204-a429-3ac8c609bfb7"
@@ -36,7 +37,6 @@ CUDSS = "45b445bb-4962-46a0-9369-b4df9d0f772e"
3637
CUSOLVERRF = "a8cc9031-bad2-4722-94f5-40deabb4245c"
3738
EnzymeCore = "f151be2c-9106-41f4-ab19-57ee4f262869"
3839
FastAlmostBandedMatrices = "9d29842c-ecb8-4973-b1e9-a27b1157504e"
39-
FastLapackInterface = "29a986be-02c6-4525-aec4-84b980013641"
4040
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
4141
HYPRE = "b5ffcf37-a2bd-41ab-a3da-4bd9bc8ad771"
4242
IterativeSolvers = "42fd0dbc-a981-5370-80f2-aaf504508153"

lib/LinearSolveAutotune/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ CPUSummary = "2a0fbf3d-bb9c-48f3-b0a9-814d99fd7ab9"
1010
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
1111
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
1212
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
13+
FastLapackInterface = "29a986be-02c6-4525-aec4-84b980013641"
1314
GitHub = "bc5e4493-9b4d-5f90-b8aa-2b2bcaad7a26"
1415
LAPACK_jll = "51474c39-65e3-53ba-86ba-03b1b862ec14"
1516
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
@@ -36,6 +37,7 @@ CPUSummary = "0.2"
3637
CUDA = "5"
3738
DataFrames = "1"
3839
Dates = "1"
40+
FastLapackInterface = "2.0.4"
3941
GitHub = "5"
4042
LAPACK_jll = "3"
4143
LinearAlgebra = "1"

lib/LinearSolveAutotune/src/algorithms.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ function get_available_algorithms(; skip_missing_algs::Bool = false)
6868
push!(algs, SimpleLUFactorization())
6969
push!(alg_names, "SimpleLUFactorization")
7070

71+
# FastLapackInterface LU if available
72+
try
73+
push!(algs, FastLUFactorization())
74+
push!(alg_names, "FastLUFactorization")
75+
catch e
76+
@warn "FastLUFactorization not available: $e"
77+
end
78+
7179
return algs, alg_names
7280
end
7381

0 commit comments

Comments
 (0)