Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFT parallelization threshold #171

Merged
merged 2 commits into from
Jan 9, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
FFT parallelization threshold
  • Loading branch information
Pratyush committed Jan 8, 2021
commit 342e38df5fe6cbc3205b8a32ee74e14b01962a3b
4 changes: 2 additions & 2 deletions poly/src/domain/radix2/fft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl<F: FftField> Radix2EvaluationDomain<F> {
let nchunks = xi.len() / (2 * gap);
ark_std::cfg_chunks_mut!(xi, 2 * gap).for_each(|cxi| {
let (lo, hi) = cxi.split_at_mut(gap);
ark_std::cfg_iter_mut!(lo)
ark_std::cfg_iter_mut!(lo, 1000)
.zip(hi)
.enumerate()
.for_each(|(idx, (lo, hi))| {
Expand All @@ -102,7 +102,7 @@ impl<F: FftField> Radix2EvaluationDomain<F> {

ark_std::cfg_chunks_mut!(xi, 2 * gap).for_each(|cxi| {
let (lo, hi) = cxi.split_at_mut(gap);
ark_std::cfg_iter_mut!(lo)
ark_std::cfg_iter_mut!(lo, 1000)
.zip(hi)
.enumerate()
.for_each(|(idx, (lo, hi))| {
Expand Down