Skip to main content

Intel (R) MKL-based universal functions for NumPy arrays

Project description

Conda package OpenSSF Scorecard

mkl_umath

mkl_umath._ufuncs exposes Intel® OneAPI Math Kernel Library (OneMKL) powered version of loops used in the patched version of NumPy, that used to be included in Intel® Distribution for Python*.

Patches were factored out per community feedback (NEP-36).

mkl_umath started as a part of Intel® 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 --i https://software.repos.intel.com/python/pypi -extra-index-url https://pypi.org/simple mkl_umath

If command above installs NumPy package from the PyPI, please use the following command to install Intel optimized NumPy wheel package from Intel PyPI Cloud:

   python -m pip install --i https://software.repos.intel.com/python/pypi -extra-index-url https://pypi.org/simple mkl_umath numpy==<numpy_version>

Where <numpy_version> should be the latest version from https://software.repos.intel.com/python/conda/


Building

Intel(R) C compiler and Intel(R) OneAPI Math Kernel Library (OneMKL) are required to build mkl_umath from source.

If these are installed as part of a oneAPI installation, the following packages must also be installed into the environment

  • cmake
  • ninja
  • cython
  • scikit-build
  • numpy

If build dependencies are to be installed with Conda, the following packages must be installed from the Intel(R) channel

  • mkl-devel
  • dpcpp_linux-64 (or dpcpp_win-64 for Windows)
  • numpy-base

then the remaining dependencies

  • cmake
  • ninja
  • cython
  • scikit-build

and for mkl-devel and dpcpp_linux-64 in a Conda environment, MKLROOT environment variable must be set On Linux

export MKLROOT=$CONDA_PREFIX

On Windows

set MKLROOT=%CONDA_PREFIX%

If using oneAPI, it must be activated in the environment

On Linux

source ${ONEAPI_ROOT}/setvars.sh

On Windows

call "%ONEAPI_ROOT%\setvars.bat"

finally, execute

CC=icx pip install --no-build-isolation --no-deps .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mkl_umath-0.4.3-0-cp314-cp314-win_amd64.whl (238.8 kB view details)

Uploaded CPython 3.14Windows x86-64

mkl_umath-0.4.3-0-cp314-cp314-manylinux_2_28_x86_64.whl (193.2 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

mkl_umath-0.4.3-0-cp313-cp313-win_amd64.whl (238.6 kB view details)

Uploaded CPython 3.13Windows x86-64

mkl_umath-0.4.3-0-cp313-cp313-manylinux_2_28_x86_64.whl (192.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

mkl_umath-0.4.3-0-cp312-cp312-win_amd64.whl (238.7 kB view details)

Uploaded CPython 3.12Windows x86-64

mkl_umath-0.4.3-0-cp312-cp312-manylinux_2_28_x86_64.whl (193.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

mkl_umath-0.4.3-0-cp311-cp311-win_amd64.whl (238.5 kB view details)

Uploaded CPython 3.11Windows x86-64

mkl_umath-0.4.3-0-cp311-cp311-manylinux_2_28_x86_64.whl (194.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

mkl_umath-0.4.3-0-cp310-cp310-win_amd64.whl (238.9 kB view details)

Uploaded CPython 3.10Windows x86-64

mkl_umath-0.4.3-0-cp310-cp310-manylinux_2_28_x86_64.whl (195.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

File details

Details for the file mkl_umath-0.4.3-0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mkl_umath-0.4.3-0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 045cad23c237ac1508715aa75fac3eeb90d32c1aed8d6d805049f18b6f752454
MD5 2c37b48b71d81a77d63999583655466c
BLAKE2b-256 78901bbe1d3c0386b794a6895dbdc588c24b48f2bedf9d6c4b4a72f9a3240002

See more details on using hashes here.

File details

Details for the file mkl_umath-0.4.3-0-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mkl_umath-0.4.3-0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 24636d417c2f7004176d7548c04364109ad5009ba227e735d54fce26b7f786fd
MD5 cf28b2f07c9d030955e41a06fdb2433a
BLAKE2b-256 f1afba432f3bac994b1d5b9d267e456702a6a95b397f6258ad5e34d8bbf52c4f

See more details on using hashes here.

File details

Details for the file mkl_umath-0.4.3-0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for mkl_umath-0.4.3-0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e3e7995a31fc45a28be9fb2ca468d18d1c6b54e9b9a040522ba657368f6847e5
MD5 fdb531df9ba55c72be9942ef9cd2a396
BLAKE2b-256 8d9f39ba69693b9c7f0ade2247c46ca720095205d262645353fb8982601e0155

See more details on using hashes here.

File details

Details for the file mkl_umath-0.4.3-0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mkl_umath-0.4.3-0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a737a18ca5c93d6f263592681d9636da7187920da57229652619bf285f4bd085
MD5 2ccfff5a9fa2ac36073d26492fa4900c
BLAKE2b-256 e6db1428f46579c33d40deae41a7ddc7841e0aad2d53398d2cc4054499bdbcc8

See more details on using hashes here.

File details

Details for the file mkl_umath-0.4.3-0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for mkl_umath-0.4.3-0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 66af854dfbb09411106d295b3d1b189219f5bf62145f324fa1403c0dc3613ab3
MD5 dde18fbc2870200013cb8f537976eadc
BLAKE2b-256 8c9b68f90749ee356eac4bd071f9328942ffeb84bfe48c228f3245c3885c0dcf

See more details on using hashes here.

File details

Details for the file mkl_umath-0.4.3-0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mkl_umath-0.4.3-0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7bc3cf62e80e45260a85a605ad362cd3db577322963417359aec494eac2fa0ec
MD5 8bdaf4fd45388d0077b788db5d31a28d
BLAKE2b-256 dfd5bb618750e4a9b970def751e741362f8f055e2c1110945060ad657895ebad

See more details on using hashes here.

File details

Details for the file mkl_umath-0.4.3-0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mkl_umath-0.4.3-0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c6ef26a3cb49eede63ec6a4e43db53d81dd2d5f7ad8b989b6eb3cf491b86a78a
MD5 2f8b68ccf00971ac32643df32587b984
BLAKE2b-256 6ca081069fbb4434782ac1b80b2b9c07f429705997405e6cd47d6388f7c25aa0

See more details on using hashes here.

File details

Details for the file mkl_umath-0.4.3-0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mkl_umath-0.4.3-0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a19d838def0a0047a5fb5552ff245fa0199a9f61f611db1cfa6840092375b3d3
MD5 eb4fa2be67b6750faf6d388842c70259
BLAKE2b-256 965a59e37c4e95803174253dffc1f18e8cafa7e677e2c6d376e9cad46a310fd9

See more details on using hashes here.

File details

Details for the file mkl_umath-0.4.3-0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for mkl_umath-0.4.3-0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c4a500f821106a430acf4f8b1a72bdc6913ea57c885bf65ca94bcdcc0a170b9f
MD5 50700f1326cac4563253877c8e752c76
BLAKE2b-256 dcd4a412be7e97b306c641239986649159d33dddd1f3c424dfee9bfaa5fc3750

See more details on using hashes here.

File details

Details for the file mkl_umath-0.4.3-0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mkl_umath-0.4.3-0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a7c6eba037da96e66318f9add4ed7ccc3de16e7981a4277d2adcbe7f4172a11e
MD5 9aba660e3dde4d02ba40ba875a760ea6
BLAKE2b-256 355b4ea32a7bb6b984555f49d50da911a808e85d71d3b9b379b29700628e3a49

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page