Skip to content

Commit cbdaab4

Browse files
authored
Merge pull request #18 from chriselrod/loopvecfuncconstants
VectorizationBase no longer using global constants to define parameters
2 parents 3cb2d5b + d0b7da6 commit cbdaab4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ LoopVectorization = "bdcacae8-1622-11e9-2a5c-532679323890"
99
VectorizationBase = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f"
1010

1111
[compat]
12-
LoopVectorization = "0.8,0.9"
13-
VectorizationBase = "0.12.13,0.13, 0.14, 0.15, 0.16"
14-
julia = "1.1"
12+
LoopVectorization = "0.10"
13+
VectorizationBase = "0.16"
14+
julia = "1.5"
1515

1616
[extras]
1717
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

src/lu.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ function pick_threshold()
2323
blasvendor = BLAS.vendor()
2424
RECURSION_THRESHOLD[] >= 0 && return RECURSION_THRESHOLD[]
2525
if blasvendor === :openblas || blasvendor === :openblas64
26-
LoopVectorization.VectorizationBase.AVX512F ? 110 : 72
26+
LoopVectorization.register_size() == 64 ? 110 : 72
2727
else
28-
LoopVectorization.VectorizationBase.AVX512F ? 48 : 72
28+
LoopVectorization.register_size() == 64 ? 48 : 72
2929
end
3030
end
3131

0 commit comments

Comments
 (0)