Skip to content

Make sure FFTW is maximally used #66

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

Merged
merged 1 commit into from
Apr 21, 2019
Merged

Make sure FFTW is maximally used #66

merged 1 commit into from
Apr 21, 2019

Conversation

daanhb
Copy link
Member

@daanhb daanhb commented Apr 20, 2019

The previous generic FFT implementation would use generic FFT in various places even when FFTW was applicable. This is, of course, highly undesirable!

The changes here fix that, and also add tests to make sure that FFTW plans continue to be used for standard floating points. There is a runtime warning if generic fft's are used for Float32 or Float64 numbers.

The expected interface of AbstractFFTs is not entirely obvious. Some plans are only implemented for real numbers, some only for complex numbers, some plans are implemented in terms of other plans. As a result, when implementing plans for AbstractFloat we have to be careful in the typing of our implementation.

@daanhb daanhb mentioned this pull request Apr 20, 2019
@codecov
Copy link

codecov bot commented Apr 20, 2019

Codecov Report

Merging #66 into master will decrease coverage by 0.37%.
The diff coverage is 78.26%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #66      +/-   ##
=========================================
- Coverage   52.68%   52.3%   -0.38%     
=========================================
  Files          33      33              
  Lines        3166    3185      +19     
=========================================
- Hits         1668    1666       -2     
- Misses       1498    1519      +21
Impacted Files Coverage Δ
src/fftBigFloat.jl 58.19% <78.26%> (-12.68%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 769510b...9c536b9. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Apr 20, 2019

Codecov Report

Merging #66 into master will decrease coverage by 0.37%.
The diff coverage is 78.26%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #66      +/-   ##
=========================================
- Coverage   52.68%   52.3%   -0.38%     
=========================================
  Files          33      33              
  Lines        3166    3185      +19     
=========================================
- Hits         1668    1666       -2     
- Misses       1498    1519      +21
Impacted Files Coverage Δ
src/fftBigFloat.jl 58.19% <78.26%> (-12.68%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 769510b...9c536b9. Read the comment docs.

@MikaelSlevinsky MikaelSlevinsky merged commit f6a3140 into JuliaApproximation:master Apr 21, 2019
@daanhb daanhb deleted the genericfft2 branch April 22, 2019 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants