File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 1
1
name = " LoopVectorization"
2
2
uuid = " bdcacae8-1622-11e9-2a5c-532679323890"
3
3
authors = [
" Chris Elrod <[email protected] >" ]
4
- version = " 0.12.154 "
4
+ version = " 0.12.155 "
5
5
6
6
[weakdeps ]
7
7
ChainRulesCore = " d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
@@ -57,5 +57,5 @@ Static = "0.8.4"
57
57
StaticArrayInterface = " 1"
58
58
ThreadingUtilities = " 0.5"
59
59
UnPack = " 1"
60
- VectorizationBase = " 0.21.62 "
60
+ VectorizationBase = " 0.21.63 "
61
61
julia = " 1.6"
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ using VectorizationBase:
108
108
contract_or,
109
109
collapse_or,
110
110
max_mask,
111
- maybestaticsize# ,zero_mask
111
+ maybestaticsize,zero_mask
112
112
113
113
using HostCPUFeatures:
114
114
pick_vector_width,
Original file line number Diff line number Diff line change 26
26
@test real .(A) == LinearAlgebra. Diagonal (1 : 10 )
27
27
@test all (iszero, imag .(A))
28
28
end
29
+ function issue480 (x, y)
30
+ z = false
31
+ @turbo for i in eachindex (x)
32
+ z |= x[i] > y[i]
33
+ end
34
+ z
35
+ end
36
+ @testset " issue 480" begin
37
+ using LoopVectorization
38
+ x = zeros (33 )
39
+ y = zeros (33 )
40
+ @test ! issue480 (x, y)
41
+ for i in eachindex (x)
42
+ x[i] = 1.0
43
+ @test issue480 (x, y)
44
+ x[i] = 0.0
45
+ end
46
+ end
You can’t perform that action at this time.
0 commit comments