From 666b7d6074208c760ef6af2fe8817a1dbe8b9c0d Mon Sep 17 00:00:00 2001 From: Saveliy Yusufov Date: Tue, 30 Jan 2024 14:57:37 -0500 Subject: [PATCH] Increase `BLOCK_SIZE` to 256 --- src/cobra.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cobra.rs b/src/cobra.rs index 817313e..9f32ff6 100644 --- a/src/cobra.rs +++ b/src/cobra.rs @@ -1,8 +1,8 @@ use crate::kernels::Float; -const BLOCK_WIDTH: usize = 128; +const BLOCK_WIDTH: usize = 256; // size of the cacheline -const LOG_BLOCK_WIDTH: usize = 7; // log2 of cacheline +const LOG_BLOCK_WIDTH: usize = 8; // log2 of cacheline /// Run in-place bit reversal on a single buffer /// Source: https://www.katjaas.nl/bitreversal/bitreversal.html