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

Make planner reusable #33

Merged
merged 6 commits into from
Jul 14, 2024
Merged

Make planner reusable #33

merged 6 commits into from
Jul 14, 2024

Conversation

smu160
Copy link
Member

@smu160 smu160 commented Jul 1, 2024

  • Planner should be re-usable so it can be re-used for FFT's of the same size

  • Add regression tests to make sure fft_64/fft_32 gives the same results as fft_64_with_opts_and_plan/fft_32_with_opts_and_plan

@Shnatsel I also added a criterion based benchmark based on these benchmarks. In addition, this new benchmark takes into account that Planner32/Planner64 are now re-usable.

I am thinking we can use criterion's BenchmarkGroup to add rust-fftw3 and RustFFT for comparison. Ideally, this would replace the current benchmarks.

- Planner should be re-usable so it can be re-used for FFT's of the same
  size

- Add regression tests to make sure `fft_64`/`fft_32` gives the same
  results as `fft_64_with_opts_and_plan`/`fft_32_with_opts_and_plan`
@smu160 smu160 added bug Something isn't working enhancement New feature or request labels Jul 1, 2024
@smu160 smu160 requested a review from Shnatsel July 1, 2024 16:43
@smu160 smu160 self-assigned this Jul 1, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jul 1, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 99.28058% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (main@2df2f00). Learn more about missing BASE report.

Files Patch % Lines
src/twiddles.rs 96.87% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #33   +/-   ##
=======================================
  Coverage        ?   99.16%           
=======================================
  Files           ?        8           
  Lines           ?      841           
  Branches        ?        0           
=======================================
  Hits            ?      834           
  Misses          ?        7           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/lib.rs Show resolved Hide resolved
@smu160 smu160 merged commit 20fafba into main Jul 14, 2024
8 checks passed
@smu160 smu160 deleted the feature/reusable-planner branch July 14, 2024 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants