Skip to content

v0.1.1

Compare
Choose a tag to compare
@oleksandr-pavlyk oleksandr-pavlyk released this 08 Sep 20:20
· 84 commits to main since this release

Released version of mkl_umath.

The package implements numpy.ufunc instances which are powered by Intel(R) Math Kernel Library's Vector Math component and Intel(R) C Compiler generated calls to Intel(R) Short Vector Math Library functions for appropriate data types.

The package provides for a way to register typed evaluation loops provided by this package with the numpy.ufunc instances, thus monkey patching NumPy for improved performance (e.g. mkl_umath.use_in_numpy() and mkl_umath.restore().)

Supported types can be queries using attributes of numpy.ufunc instance:

In [44]: mkl_umath.multiply.types
Out[44]: ['ff->f', 'dd->d', 'FF->F', 'DD->D']