@@ -121,10 +121,6 @@ function judge_results(m1, m2)
121121 return results
122122end
123123
124- function generic_mul (size_a, size_b, a, b)
125- return invoke (* , Tuple{StaticArrays. _unstatic_array (typeof (a)),StaticArrays. _unstatic_array (typeof (b))}, a, b)
126- end
127-
128124function full_benchmark (mul_wrappers, size_iter = 1 : 4 , T = Float64)
129125 suite_full = BenchmarkGroup ()
130126 for N in size_iter
@@ -139,7 +135,7 @@ function full_benchmark(mul_wrappers, size_iter = 1:4, T = Float64)
139135 for (w_a, w_a_name) in wrappers_a
140136 for (w_b, w_b_name) in wrappers_b
141137 cur_str = @sprintf (" mat-mat %s %s generic (%2d, %2d) x (%2d, %2d)" , w_a_name, w_b_name, N, M, M, K)
142- suite_full[cur_str] = @benchmarkable generic_mul ($ sa, $ sb, $ (Ref (w_a (a)))[], $ (Ref (w_b (b)))[])
138+ suite_full[cur_str] = @benchmarkable StaticArrays . mul_generic ($ sa, $ sb, $ (Ref (w_a (a)))[], $ (Ref (w_b (b)))[])
143139 cur_str = @sprintf (" mat-mat %s %s default (%2d, %2d) x (%2d, %2d)" , w_a_name, w_b_name, N, M, M, K)
144140 suite_full[cur_str] = @benchmarkable StaticArrays. _mul ($ sa, $ sb, $ (Ref (w_a (a)))[], $ (Ref (w_b (b)))[])
145141 cur_str = @sprintf (" mat-mat %s %s unrolled (%2d, %2d) x (%2d, %2d)" , w_a_name, w_b_name, N, M, M, K)
0 commit comments