We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 509fccd commit 57c78bcCopy full SHA for 57c78bc
fft_bench.py
@@ -12,6 +12,13 @@
12
import re
13
import sys
14
15
+try: # Workaround for disabled mkl_fft in latest Intel SciPy
16
+ import mkl_fft
17
+ import mkl_fft._scipy_fft_backend as sfbn
18
+ scipy.fft.set_global_backend(sfbn)
19
+except:
20
+ print("Unable to use mkl_fft as scipy.fft backend")
21
+
22
# Mark which FFT submodules are available...
23
fft_modules = {'numpy.fft': np.fft, 'scipy.fft': scipy.fft}
24
0 commit comments