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 88227c3 commit b522f6eCopy full SHA for b522f6e
src/lu.jl
@@ -18,7 +18,14 @@ end
18
19
# Use a function here to make sure it gets optimized away
20
# AVX512 needs a smaller recursion limit
21
-pick_threshold() = LoopVectorization.VectorizationBase.AVX512F ? 48 : 192
+function pick_threshold()
22
+ blasvendor = BLAS.vendor()
23
+ if blasvendor === :openblas || blasvendor === :openblas64
24
+ LoopVectorization.VectorizationBase.AVX512F ? 110 : 192
25
+ else
26
+ LoopVectorization.VectorizationBase.AVX512F ? 48 : 72
27
+ end
28
+end
29
30
function lu!(A::AbstractMatrix{T}, ipiv::AbstractVector{<:Integer},
31
pivot::Union{Val{false}, Val{true}} = Val(true);
0 commit comments