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

Temporarily use safe FFTW planning #66

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

jkrimmer
Copy link
Contributor

@jkrimmer jkrimmer commented Sep 9, 2024

This PR explicitly loads FFTW_jll to enforce thread-safe planning for FFTW hence provisorily fixing #62 . As soon as flatironinstitute/finufft#548 is merged, we can update finufft_jll and employ the changes over at https://github.com/jkrimmer/FINUFFT.jl/tree/user_fftw_lock instead.

Copy link

codecov bot commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.83%. Comparing base (7c12ff4) to head (b3afde0).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #66      +/-   ##
==========================================
+ Coverage   58.68%   58.83%   +0.14%     
==========================================
  Files           8        8              
  Lines         564      566       +2     
==========================================
+ Hits          331      333       +2     
  Misses        233      233              

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

@@ -45,6 +48,11 @@ include("simple.jl")

# Only load cuFINUFFT interface if CUDA is present (via `using CUDA`) and functional
function __init__()

# quick and dirty: make fftw thread safe

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe marking it as a workaround referring the finufft PR would be good.

@jkrimmer jkrimmer marked this pull request as draft September 9, 2024 15:14
@jkrimmer jkrimmer marked this pull request as ready for review September 9, 2024 15:18
@ludvigak
Copy link
Owner

Thank you for this fix!

@ludvigak ludvigak merged commit 04fd2f2 into ludvigak:master Sep 10, 2024
9 checks passed
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.

3 participants