Mkl-fft

Latest version: v1.3.8

Safety actively analyzes 624712 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.3.8

=====

Added vendored `conv_template.py` from NumPy's distutils submodule to enable building of `mkl_fft` with
NumPy >=1.25 and Python 3.12

1.3.7

=====

Updated build system away from removed in NumPy 1.25 numpy.distutils module.

Transitioned to Cython 3.0.

1.3.0

=====

Updated numpy interface to support new in NumPy 1.20 supported values of norm keyword, such as "forward" and "backward".
To enable this, `mkl_fft` functions now support `forward_scale` parameter that defaults to 1.

Fixed issue 48.

1.2.1

=====

Includes bug fix 54

1.2.0

=====

Due to removal of deprecated real-to-real FFT with `DFTI_CONJUGATE_EVEN_STORAGE=DFTI_COMPLEX_REAL` and `DFTI_PACKED_FORMAT=DFTI_PACK`
from Intel(R) Math Kernel Library, reimplemented `mkl_fft.rfft` and `mkl_fft.irfft` to use real-to-complex functionality with subsequent
copying to rearange the transform as expected of `mkl_fft.rfft`, with the associated performance penalty. The use of the real-to-complex
transform improves multi-core utilization which may offset the performance loss incurred due to copying.

1.1.0

=====

Added `scipy.fft` backend, see 42. Fixed 46.


Python 3.7.5 (default, Nov 23 2019, 04:02:01)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.11.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import numpy as np, mkl_fft, mkl_fft._scipy_fft_backend as mkl_be, scipy, scipy.fft, mkl

In [2]: mkl.verbose(1)
Out[2]: True

In [3]: x = np.random.randn(8*7).reshape((7, 8))
...: with scipy.fft.set_backend(mkl_be, only=True):
...: ff = scipy.fft.fft2(x, workers=4)
...: ff2 = scipy.fft.fft2(x)
MKL_VERBOSE Intel(R) MKL 2020.0 Product build 20191102 for Intel(R) 64 architecture Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) enabled processors, Lnx 2.40GHz intel_thread
MKL_VERBOSE FFT(drfo7:8:8x8:1:1,bScale:0.0178571,tLim:1,desc:0x5629ad31b800) 24.85ms CNR:OFF Dyn:1 FastMM:1 TID:0 NThr:16,FFT:4

In [4]: np.allclose(ff, ff2)
Out[4]: True

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.