Skip to content

Fix MKL FFT descriptor corruption in threaded Python scripts #14

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
Jul 19, 2018

Conversation

oleksandr-pavlyk
Copy link
Contributor

This fixes #11 .

Due to use of global variable as a cache of Dfti descriptor for 1D transforms,

1D calls need to use lock.

This is a stop-gap solution. A proper solution is to store cache in thread local variable, but it requires a little more work.

@oleksandr-pavlyk oleksandr-pavlyk merged commit 9e05d64 into master Jul 19, 2018
@oleksandr-pavlyk oleksandr-pavlyk deleted the fix-issue-11 branch July 20, 2018 23:28
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.

Segmentation fault with numpy.fft.rfft and MKL and threads
1 participant