Skip to content

Commit e95ba75

Browse files
committed
update parallelism 1
1 parent 91b8132 commit e95ba75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

poly/src/domain/radix2/fft.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,15 +359,15 @@ const MIN_NUM_CHUNKS_FOR_COMPACTION: usize = 1 << 7;
359359

360360
/// The minimum size of a chunk at which parallelization of `butterfly`s is
361361
/// beneficial. This value was chosen empirically.
362-
const MIN_GAP_SIZE_FOR_PARALLELIZATION: usize = 1 << 3;
362+
const MIN_GAP_SIZE_FOR_PARALLELIZATION: usize = 1 << 1;
363363

364364
/// The minimum size of a chunk at which parallelization of `butterfly`s is
365365
/// beneficial. This value was chosen empirically.
366-
const MIN_INPUT_SIZE_FOR_PARALLELIZATION: usize = 1 << 3;
366+
const MIN_INPUT_SIZE_FOR_PARALLELIZATION: usize = 1 << 1;
367367

368368
// minimum size at which to parallelize.
369369
#[cfg(feature = "parallel")]
370-
const LOG_ROOTS_OF_UNITY_PARALLEL_SIZE: u32 = 3;
370+
const LOG_ROOTS_OF_UNITY_PARALLEL_SIZE: u32 = 1;
371371

372372
#[inline]
373373
fn bitrev(a: u64, log_len: u32) -> u64 {

0 commit comments

Comments
 (0)