-
Notifications
You must be signed in to change notification settings - Fork 56
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
FFTW planner is not thread safe. #66
Comments
You could call fftw_make_planner_thread_safe instead, although it basically does the same thing. If you are implementing your own locks, note that you also need to put a lock around the |
This would be nice to have for ApproxFun, as I think it is the one thing used that is not thread-safe. |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Moved from JuliaLang/julia#17972
Having fft/bfft/ifft/etc. calls in a threaded region exposes the fact that the planning portion of the fft call is not thread-safe in fftw. Below is a potential patch to dft.jl if you just want to lock the planner.
The text was updated successfully, but these errors were encountered: