Search code examples
pythonanacondaicc

Is there a version of anaconda compiled with intel svml (Short Vector Math Library)?


I worked a lot on C++ projects based on intel icc/icpc compiler, which, by default, use an impressive vectorisation library, svml.

I also recently saw that anaconda now use optimizations from intel MKL (Math Kernel Library).

So my question is:

Is there an existing version of anaconda compiled with intel svml (Short Vector Math Library), which could improve performance drastically?


Solution

  • Intel SVML can be used implicitly by Intel Compiler's vectorizer. I'm not aware of anything in Python using SVML directly right now but Intel is working on binding all the possible Intel Performance Libraries to performance-critical Python modules like Numpy/Scipy and compiles them using Intel Compiler with enabled vectorization.

    These modules are now available on Intel channel at anaconda.org (currently in Beta version).

    There is also Intel VML library which generalizes SVML to work with longer vectors/arrays, and it is already used to accelerate Numexpr.

    #iamintel