Skip to content

Commit 6266f0e

Browse files
committed
vendor is deprecated
1 parent 69f1553 commit 6266f0e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lu.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@ const RECURSION_THRESHOLD = Ref(-1)
3030

3131
# AVX512 needs a smaller recursion limit
3232
function pick_threshold()
33-
blasvendor = BLAS.vendor()
3433
RECURSION_THRESHOLD[] >= 0 && return RECURSION_THRESHOLD[]
34+
blasvendor = @static if VERSION >= v"1.7.0-DEV.610"
35+
:openblas64
36+
else
37+
BLAS.vendor()
38+
end
3539
if blasvendor === :openblas || blasvendor === :openblas64
3640
LoopVectorization.register_size() == 64 ? 110 : 72
3741
else

0 commit comments

Comments
 (0)