Skip to content

Commit 93b9d03

Browse files
committed
cargo fmt
1 parent 4b2858a commit 93b9d03

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ use crate::twiddles::{filter_twiddles, generate_twiddles, generate_twiddles_simd
66

77
mod cobra;
88
mod kernels;
9-
mod twiddles;
109
pub mod options;
10+
mod twiddles;
1111

1212
/// FFT -- Decimation in Frequency
1313
///

src/options.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/// Options to tune to improve performance depending on the hardware and input size.
2-
///
2+
///
33
/// Calling FFT routines without specifying options will automatically select reasonable defaults
44
/// depending on the input size and other factors.
5-
///
5+
///
66
/// You only need to tune these options if you are trying to squeeze maximum performance
77
/// out of a known hardware platform that you can bechmark at varying input sizes.
88
#[non_exhaustive]
@@ -32,12 +32,12 @@ pub enum BitReverseAlgorithm {
3232
/// Straightforward algorithm that performs best at smaller sizes
3333
Plain,
3434
/// Cache-Optimal Bit Reversal Algorithm
35-
///
35+
///
3636
/// This is faster at larger datasets that do not fit into the cache.
3737
/// The exact threshold where it starts being beneficial varies depending on the hardware.
3838
Cobra,
3939
/// COBRA but run on two threads instead of one.
4040
/// Typically beneficial at even larger sizes than single-threaded COBRA, and slower otherwise.
4141
/// The exact threshold where it starts being beneficial varies depending on the hardware.
4242
MultiThreadedCobra,
43-
}
43+
}

0 commit comments

Comments
 (0)