Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnatsel committed Feb 2, 2024
1 parent 4b2858a commit 93b9d03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use crate::twiddles::{filter_twiddles, generate_twiddles, generate_twiddles_simd

mod cobra;
mod kernels;
mod twiddles;
pub mod options;
mod twiddles;

/// FFT -- Decimation in Frequency
///
Expand Down
8 changes: 4 additions & 4 deletions src/options.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/// Options to tune to improve performance depending on the hardware and input size.
///
///
/// Calling FFT routines without specifying options will automatically select reasonable defaults
/// depending on the input size and other factors.
///
///
/// You only need to tune these options if you are trying to squeeze maximum performance
/// out of a known hardware platform that you can bechmark at varying input sizes.
#[non_exhaustive]
Expand Down Expand Up @@ -32,12 +32,12 @@ pub enum BitReverseAlgorithm {
/// Straightforward algorithm that performs best at smaller sizes
Plain,
/// Cache-Optimal Bit Reversal Algorithm
///
///
/// This is faster at larger datasets that do not fit into the cache.
/// The exact threshold where it starts being beneficial varies depending on the hardware.
Cobra,
/// COBRA but run on two threads instead of one.
/// Typically beneficial at even larger sizes than single-threaded COBRA, and slower otherwise.
/// The exact threshold where it starts being beneficial varies depending on the hardware.
MultiThreadedCobra,
}
}

0 comments on commit 93b9d03

Please sign in to comment.