-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathgrouptests.jl
120 lines (75 loc) · 2.69 KB
/
grouptests.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
const START_TIME = time()
@show LoopVectorization.register_count()
@show RUN_SLOW_TESTS
@time @testset "LoopVectorization.jl" begin
@time if LOOPVECTORIZATION_TEST == "all" || LOOPVECTORIZATION_TEST == "part1"
@time include("broadcast.jl")
@time include("parsing_inputs.jl")
end
@time if LOOPVECTORIZATION_TEST == "all" || LOOPVECTORIZATION_TEST == "part2"
if VERSION <= v"1.8" || VERSION.prerelease[1] != "DEV"
using Aqua
@time Aqua.test_all(LoopVectorization, ambiguities = false)
end
@test isempty(detect_unbound_args(LoopVectorization))
@time include("printmethods.jl")
@time include("can_avx.jl")
@time include("fallback.jl")
@time include("utils.jl")
@time include("arraywrappers.jl")
@time include("check_empty.jl")
@time include("loopinductvars.jl")
@time include("shuffleloadstores.jl")
if VERSION < v"1.7-DEV"
@time include("zygote.jl")
else
println("Skipping Zygote tests.")
end
@time include("map.jl")
@time include("filter.jl")
@time include("multiassignments.jl")
@time include("reduction_untangling.jl")
@time include("manyloopreductions.jl")
@time include("simplemisc.jl")
@time include("convolutions.jl")
@time include("ifelsemasks.jl")
@time include("gemv.jl")
@time include("dot.jl")
@time include("special.jl")
@time include("mapreduce.jl")
@time include("index_processing.jl")
end
@time if LOOPVECTORIZATION_TEST == "all" || LOOPVECTORIZATION_TEST == "part3"
@time include("rejectunroll.jl")
@time include("miscellaneous.jl")
@time include("copy.jl")
@time include("tensors.jl")
@time include("staticsize.jl")
end
@time if LOOPVECTORIZATION_TEST == "all" || LOOPVECTORIZATION_TEST == "part4"
@time include("threading.jl")
@time include("tullio.jl")
@time include("iteration_bound_tests.jl")
@time include("outer_reductions.jl")
@time include("upperboundedintegers.jl")
if VERSION ≥ v"1.6"
@time include("quantum.jl")
end
@time include("offsetarrays.jl")
end
@time if LOOPVECTORIZATION_TEST == "all" || LOOPVECTORIZATION_TEST == "part5"
@time include("steprange.jl")
@time include("gemm.jl")
@time include("inner_reductions.jl")
end
@time if LOOPVECTORIZATION_TEST == "all" || LOOPVECTORIZATION_TEST == "part6"
cproj = Base.active_project()
precompiledir = joinpath(@__DIR__, "precompile")
Pkg.activate(joinpath(precompiledir, "LVUser"))
@time include(joinpath(precompiledir, "precompile.jl"))
Pkg.activate(cproj)
end
end
const ELAPSED_MINUTES = (time() - START_TIME) / 60
# @test ELAPSED_MINUTES < 180
@test ELAPSED_MINUTES < 300