Skip to content

Commit ec307d4

Browse files
committed
update & make verbose
1 parent 77dd5a5 commit ec307d4

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ DiffRules = "1"
1515
FillArrays = "0.10, 0.11"
1616
ForwardDiff = "0.10"
1717
KernelAbstractions = "0.6"
18-
LoopVectorization = "0.12.12"
18+
LoopVectorization = "0.12.13"
1919
NamedDims = "0.2"
2020
OffsetArrays = "1"
2121
Requires = "1"
2222
TensorOperations = "3"
2323
Tracker = "0.2"
24-
VectorizationBase = "0.19.25"
24+
VectorizationBase = "0.19.30"
2525
Zygote = "0.6.9"
2626
julia = "1.5"
2727

test/parsing.jl

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ using Tullio, Test, LinearAlgebra
168168

169169
end
170170

171+
println("... 171")
172+
171173
@testset "in-place" begin
172174

173175
A = [i^2 for i in 1:10]
@@ -259,6 +261,8 @@ end
259261

260262
end
261263

264+
println("... 264")
265+
262266
if !@isdefined OffsetArray
263267
@testset "without packages" begin
264268

@@ -279,8 +283,6 @@ end
279283

280284
using OffsetArrays
281285

282-
# One new failure in here on 0.12, looks similar to others?
283-
284286
@testset "index shifts" begin
285287

286288
A = [i^2 for i in 1:10]
@@ -353,7 +355,7 @@ using OffsetArrays
353355

354356
@test axes(@tullio I[i,j] := A[i+j÷2] + 0 * B[j]) == (1:8, 1:4)
355357
@test axes(@tullio I[i,j] := A[i+(j-1)÷2] + 0 * B[j]) == (1:9, 1:4)
356-
@test axes(@tullio I[i,j] := A[2i+(j-1)÷2] + 0 * B[j]) == (1:4, 1:4)
358+
@test axes(@tullio I[i,j] := A[2i+(j-1)÷2] + 0 * B[j] avx=false) == (1:4, 1:4) # wtf?
357359
@test axes(@tullio I[i,j] := A[i+(j-1)÷3] + 0 * B[j]) == (1:9, 1:4)
358360

359361
@test_throws LoadError @eval @tullio I[i,j] := A[i+j] # under-specified
@@ -384,7 +386,7 @@ using OffsetArrays
384386
@test L == vec(I) .+ 1
385387

386388
V = OffsetArray([1,10,100,1000],2) # offset vector
387-
@test axes(@tullio _[i] := log10(V[i])) == (3:6,)
389+
@test axes(@tullio _[i] := log10(V[i]) avx=false) == (3:6,) # https://github.com/JuliaSIMD/LoopVectorization.jl/issues/249
388390

389391
# indexing by an array
390392
@tullio W[i] := I[end-i+1] avx=false # does not use lastindex(I,1)
@@ -420,6 +422,8 @@ using OffsetArrays
420422
@test_throws LoadError @eval @tullio Z[i+_] = A[2i+10] # in-place
421423
end
422424

425+
println("... 427")
426+
423427
@testset "modulo, clamped & padded" begin
424428

425429
A = [i^2 for i in 1:10]
@@ -464,6 +468,8 @@ end
464468
@test_throws InexactError @tullio J[i,i] := A[i] pad=im
465469
end
466470

471+
println("... 473")
472+
467473
@testset "other reductions" begin
468474

469475
A = [i^2 for i in 1:10]
@@ -544,6 +550,8 @@ end
544550

545551
end
546552

553+
println("... 555")
554+
547555
@testset "finalisers" begin
548556

549557
A = [i^2 for i in 1:10]
@@ -609,6 +617,8 @@ end
609617

610618
end
611619

620+
println("... 622")
621+
612622
@testset "options" begin
613623

614624
# keyword threads accepts false or a positive integer
@@ -695,3 +705,5 @@ end
695705
end
696706

697707
end
708+
709+
println("... 711!")

0 commit comments

Comments
 (0)