Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/intelpython/mkl_umath
Package implementing NumPy's UFuncs based on SVML and MKL VML
https://github.com/intelpython/mkl_umath
mkl numpy python
Last synced: 3 months ago
JSON representation
Package implementing NumPy's UFuncs based on SVML and MKL VML
- Host: GitHub
- URL: https://github.com/intelpython/mkl_umath
- Owner: IntelPython
- License: bsd-3-clause
- Created: 2021-03-24T16:28:52.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-09T14:06:58.000Z (3 months ago)
- Last Synced: 2024-10-11T00:22:13.120Z (3 months ago)
- Topics: mkl, numpy, python
- Language: Python
- Size: 145 KB
- Stars: 2
- Watchers: 8
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![Conda package](https://github.com/IntelPython/mkl_umath/actions/workflows/conda-package.yml/badge.svg)](https://github.com/IntelPython/mkl_umath/actions/workflows/conda-package.yml)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/IntelPython/mkl_umath/badge)](https://securityscorecards.dev/viewer/?uri=github.com/IntelPython/mkl_umath)# `mkl_umath`
`mkl_umath._ufuncs` exposes [Intel(R) Math Kernel Library](https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl.html)
powered version of loops used in the patched version of [NumPy](https://numpy.org), that used to be included in
[Intel(R) Distribution for Python*](https://www.intel.com/content/www/us/en/developer/tools/oneapi/distribution-for-python.html).Patches were factored out per community feedback ([NEP-36](https://numpy.org/neps/nep-0036-fair-play.html)).
`mkl_umath` started as a part of Intel (R) Distribution for Python* optimizations to NumPy, and is now being released
as a stand-alone package. It can be installed into conda environment using```
conda install -c https://software.repos.intel.com/python/conda mkl_umath
```---
To install mkl_umath Pypi package please use following command:
```
python -m pip install mkl_umath
```---
## Building
Intel(R) C compiler and Intel(R) Math Kernel Library are required to build `mkl_umath` from source:
```sh
# ensure that MKL is installed into Python prefix, Intel LLVM compiler is activated
export MKLROOT=$CONDA_PREFIX
CC=icx pip install --no-build-isolation --no-deps -e .
```