v0.1.1
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']