[Numpy-discussion] mkl usage

Francesc Alted francesc at continuum.io
Thu Feb 23 14:44:25 EST 2012


On Feb 23, 2012, at 1:33 PM, Neal Becker wrote:

> Is mkl only used for linear algebra?  Will it speed up e.g., elementwise 
> transendental functions?

Yes, MKL comes with VML that has this type of optimizations:

http://software.intel.com/sites/products/documentation/hpc/mkl/vml/vmldata.htm

Also, see some speedups in a numexpr linked against MKL here:

http://code.google.com/p/numexpr/wiki/NumexprVML

See also how native multi-threading implementation in numexpr beats MKL's one (at least for this particular example).

-- Francesc Alted






More information about the NumPy-Discussion mailing list