22
22
# sizes = 23:23
23
23
sizes = 256 : - 1 : 2
24
24
25
- AmulB_bench = benchmark_AmulB (sizes)
26
- AmulBt_bench = benchmark_AmulBt (sizes)
27
- AtmulBt_bench = benchmark_AtmulBt (sizes)
28
- AtmulB_bench = benchmark_AtmulB (sizes)
29
-
30
- Amulvb_bench = benchmark_Amulvb (sizes)
31
- Atmulvb_bench = benchmark_Atmulvb (sizes)
32
-
33
- filter2d_dynamic_bench = benchmark_filter2ddynamic (sizes)# 512:-1:2)
34
- filter2d_3x3_bench = benchmark_filter2d3x3 (sizes)# 512:-1:2)
35
- filter2d_unrolled_bench = benchmark_filter2dunrolled (sizes)# 512:-1:2)
36
-
37
- dot3_bench = benchmark_dot3 (sizes)
38
- dot_bench = benchmark_dot (sizes)
39
- selfdot_bench = benchmark_selfdot (sizes)
40
- sse_bench = benchmark_sse (sizes)
41
- aplusBc_bench = benchmark_aplusBc (sizes)
42
- AplusAt_bench = benchmark_AplusAt (sizes)
43
- vexp_bench = benchmark_exp (sizes)
44
- randomaccess_bench = benchmark_random_access (sizes)
45
- logdettriangle_bench = benchmark_logdettriangle (sizes)
25
+ @show AmulB_bench = benchmark_AmulB (sizes);
26
+ @show AmulBt_bench = benchmark_AmulBt (sizes);
27
+ @show AtmulBt_bench = benchmark_AtmulBt (sizes);
28
+ @show AtmulB_bench = benchmark_AtmulB (sizes);
29
+
30
+ @show Amulvb_bench = benchmark_Amulvb (sizes);
31
+ @show Atmulvb_bench = benchmark_Atmulvb (sizes);
32
+
33
+ @show filter2d_dynamic_bench = benchmark_filter2ddynamic (sizes);
34
+ @show filter2d_3x3_bench = benchmark_filter2d3x3 (sizes);
35
+ @show filter2d_unrolled_bench = benchmark_filter2dunrolled (sizes);
36
+
37
+ @show dot3_bench = benchmark_dot3 (sizes);
38
+ @show dot_bench = benchmark_dot (sizes);
39
+ @show selfdot_bench = benchmark_selfdot (sizes);
40
+ @show sse_bench = benchmark_sse (sizes);
41
+ @show aplusBc_bench = benchmark_aplusBc (sizes);
42
+ @show AplusAt_bench = benchmark_AplusAt (sizes);
43
+ @show vexp_bench = benchmark_exp (sizes);
44
+ @show randomaccess_bench = benchmark_random_access (sizes);
45
+ @show logdettriangle_bench = benchmark_logdettriangle (sizes);
46
46
47
47
const v = 1
48
48
using Cairo, Fontconfig
49
49
const PICTURES = joinpath (pkgdir (LoopVectorization), " docs" , " src" , " assets" )
50
- function saveplot (f, br)
51
- draw (PNG (joinpath (PICTURES, f * " $v .png" ), 12 inch, 8 inch), plot (br))
52
- end
50
+ saveplot (f, br) = draw (PNG (joinpath (PICTURES, f * " $v .png" ), 12 inch, 8 inch), plot (br))
53
51
54
52
saveplot (" bench_filter2d_dynamic_v" , filter2d_dynamic_bench);
55
53
saveplot (" bench_filter2d_3x3_v" , filter2d_3x3_bench);
@@ -70,19 +68,3 @@ saveplot("bench_AtmulBt_v", AtmulBt_bench);
70
68
saveplot (" bench_Amulvb_v" , Amulvb_bench);
71
69
saveplot (" bench_Atmulvb_v" , Atmulvb_bench);
72
70
73
-
74
-
75
-
76
- # plot(gemm_bench)
77
- # plot(AtmulB_bench)
78
- # plot(dot_bench)
79
- # plot(selfdot_bench)
80
- # plot(gemv_bench)
81
- # plot(dot3_bench)
82
- # plot(sse_bench)
83
- # plot(vexp_bench)
84
- # plot(aplusBc_bench)
85
- # plot(AplusAt_bench)
86
-
87
-
88
-
0 commit comments