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 11name = " LoopVectorization"
22uuid = " bdcacae8-1622-11e9-2a5c-532679323890"
33authors = [" Chris Elrod <elrodc@gmail.com>" ]
4- version = " 0.12.154 "
4+ version = " 0.12.155 "
55
66[weakdeps ]
77ChainRulesCore = " d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
@@ -57,5 +57,5 @@ Static = "0.8.4"
5757StaticArrayInterface = " 1"
5858ThreadingUtilities = " 0.5"
5959UnPack = " 1"
60- VectorizationBase = " 0.21.62 "
60+ VectorizationBase = " 0.21.63 "
6161julia = " 1.6"
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ using VectorizationBase:
108108 contract_or,
109109 collapse_or,
110110 max_mask,
111- maybestaticsize# ,zero_mask
111+ maybestaticsize,zero_mask
112112
113113using HostCPUFeatures:
114114 pick_vector_width,
Original file line number Diff line number Diff line change 2626 @test real .(A) == LinearAlgebra. Diagonal (1 : 10 )
2727 @test all (iszero, imag .(A))
2828end
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