We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18f5720 commit 20b7960Copy full SHA for 20b7960
src/lu.jl
@@ -11,7 +11,11 @@ end
11
12
function lu!(A::AbstractMatrix{T}, ipiv::AbstractVector{<:Integer},
13
pivot::Union{Val{false}, Val{true}} = Val(true);
14
- check::Bool=true, blocksize::Integer=16, threshold::Integer=192) where T
+ check::Bool=true,
15
+ # the performance is not sensitive wrt blocksize, and 16 is a good default
16
+ blocksize::Integer=16,
17
+ # OpenBLAS' TRSM isn't very good, we use a higher threshold for recursion
18
+ threshold::Integer=BLAS.vendor() === :mkl ? 48 : 192) where T
19
info = Ref(zero(BlasInt))
20
m, n = size(A)
21
mnmin = min(m, n)
0 commit comments