An open API service indexing awesome lists of open source software.

https://github.com/intelpython/mkl-service

Python hooks for Intel(R) Math Kernel Library runtime control settings.
https://github.com/intelpython/mkl-service

mkl python

Last synced: 10 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# `mkl-service` - Python package for run-time control of Intel® OneAPI Math Kernel Library (OneMKL).
[![Conda package](https://github.com/IntelPython/mkl-service/actions/workflows/conda-package.yml/badge.svg)](https://github.com/IntelPython/mkl-service/actions/workflows/conda-package.yml)
[![Build mkl-service with clang](https://github.com/IntelPython/mkl-service/actions/workflows/build-with-clang.yml/badge.svg)](https://github.com/IntelPython/mkl-service/actions/workflows/build-with-clang.yml)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/IntelPython/mkl-service/badge)](https://securityscorecards.dev/viewer/?uri=github.com/IntelPython/mkl-service)

---

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® OneMKL 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 its use:

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