From b00f482f081df8d271685c92760a3f30074b781e Mon Sep 17 00:00:00 2001 From: dante <45801863+alexander-camuto@users.noreply.github.com> Date: Mon, 12 Dec 2022 09:04:27 +0000 Subject: [PATCH] fix: cnvrl bench runtimes (#79) --- benches/cnvrl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benches/cnvrl.rs b/benches/cnvrl.rs index 6746f7f17..86fd20db7 100644 --- a/benches/cnvrl.rs +++ b/benches/cnvrl.rs @@ -19,7 +19,7 @@ static mut IMAGE_WIDTH: usize = 2; static mut IN_CHANNELS: usize = 2; const PADDING: usize = 2; -const K: usize = 9; +const K: usize = 11; #[derive(Clone, Debug)] struct MyCircuit @@ -101,7 +101,7 @@ where fn runcnvrl(c: &mut Criterion) { let mut group = c.benchmark_group("cnvrl"); - for size in [1, 2, 4, 8, 16, 32].iter() { + for size in [1, 2, 4, 8].iter() { unsafe { KERNEL_HEIGHT = size * 3; KERNEL_WIDTH = size * 3;