Skip to content

Commit 139a8fe

Browse files
authored
Add more sizes to benchmarks and load config from env (#76)
1 parent 035474a commit 139a8fe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

blog/2024-11-25-optimizing-matmul/code/benches/gpu_bench.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ const SIZES: &[(u32, u32, u32)] = &[
1313
// Square matrices
1414
(2, 2, 2),
1515
(4, 4, 4),
16+
(8, 8, 4),
1617
(16, 16, 16),
18+
(32, 32, 32),
1719
(64, 64, 64),
1820
(128, 128, 128),
1921
(256, 256, 256),
@@ -143,7 +145,8 @@ criterion_group! {
143145
config = Criterion::default()
144146
.with_plots()
145147
.significance_level(0.01)
146-
.noise_threshold(0.02);
148+
.noise_threshold(0.02)
149+
.configure_from_args();
147150
targets = bench_all_variants
148151
}
149152

0 commit comments

Comments
 (0)