Skip to content

Python hooks for Intel(R) Math Kernel Library runtime control settings.

License

Notifications You must be signed in to change notification settings

IntelPython/mkl-service

mkl-service - Python package for run-time control of Intel(R) Math Kernel Library.

Conda package Build mkl-service with clang OpenSSF Scorecard


To install conda package, use conda install -c https://software.repos.intel.com/python/conda/ mkl-service, or conda install -c conda-forge mkl-service.

To install pypi package, use python -m pip install mkl-service.


Intel(R) Math Kernel Library support functions are subdivided into the following groups according to their purpose:

  • Version Information
  • Threading Control
  • Timing
  • Memory Management
  • Conditional Numerical Reproducibility Control
  • Miscellaneous

A short example, illustrating it use:

import tomopy
import mkl
mkl.domain_set_num_threads(1, domain='fft') # Intel(R) MKL FFT functions to run sequentially