Skip to content

Commit

Permalink
Increase BLOCK_SIZE to 256
Browse files Browse the repository at this point in the history
  • Loading branch information
smu160 committed Jan 30, 2024
1 parent d8c0f74 commit 666b7d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cobra.rs
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 666b7d6

Please sign in to comment.