Skip to content

Commit 6d6dcca

Browse files
committed
Fix choose_order tests.
1 parent ac6c372 commit 6d6dcca

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

test/gemm.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
C[m,n] = Cₘₙ
292292
end)
293293
lsr2amb = LoopVectorization.LoopSet(r2ambq);
294-
@test LoopVectorization.choose_order(lsr2amb) == ([:m, :n, :k], :k, :n, :m, Unum, Tnum)
294+
@test LoopVectorization.choose_order(lsr2amb) == ([:m, :n, :k], :k, :n, :m, Unum & -2, Tnum)
295295
function rank2AmulBavx!(C, Aₘ, Aₖ, B)
296296
@avx for m 1:size(C,1), n 1:size(C,2)
297297
Cₘₙ = zero(eltype(C))

test/miscellaneous.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
s += x[m] * A[m,n] * y[n]
66
end)
77
lsdot3 = LoopVectorization.LoopSet(dot3q);
8-
@test LoopVectorization.choose_order(lsdot3) == ([:m,:n], :n, :m, :m, Unum, Tnum)
8+
@test LoopVectorization.choose_order(lsdot3) == ([:m,:n], :n, :m, :m, Unum & -2, Tnum)
99

1010
@static if VERSION < v"1.4"
1111
dot3(x, A, y) = dot(x, A * y)

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ function clenshaw(x,coeff)
1414
return ret
1515
end
1616

17+
@show LoopVectorization.VectorizationBase.REGISTER_COUNT
18+
1719
@time @testset "LoopVectorization.jl" begin
1820

1921
@time include("printmethods.jl")

0 commit comments

Comments
 (0)