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.2-0-cp314-cp314-win_amd64.whl (237.8 kB view details)

Uploaded CPython 3.14Windows x86-64

mkl_umath-0.4.2-0-cp314-cp314-manylinux_2_28_x86_64.whl (193.9 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

mkl_umath-0.4.2-0-cp313-cp313-win_amd64.whl (237.4 kB view details)

Uploaded CPython 3.13Windows x86-64

mkl_umath-0.4.2-0-cp313-cp313-manylinux_2_28_x86_64.whl (193.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

mkl_umath-0.4.2-0-cp312-cp312-win_amd64.whl (237.6 kB view details)

Uploaded CPython 3.12Windows x86-64

mkl_umath-0.4.2-0-cp312-cp312-manylinux_2_28_x86_64.whl (194.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

mkl_umath-0.4.2-0-cp311-cp311-win_amd64.whl (237.7 kB view details)

Uploaded CPython 3.11Windows x86-64

mkl_umath-0.4.2-0-cp311-cp311-manylinux_2_28_x86_64.whl (194.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

mkl_umath-0.4.2-0-cp310-cp310-win_amd64.whl (234.7 kB view details)

Uploaded CPython 3.10Windows x86-64

mkl_umath-0.4.2-0-cp310-cp310-manylinux_2_28_x86_64.whl (195.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.2-0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 794796f3554f9634cf4f57363dd76fe32b6a7de2eda3f7e5c136b2a456f32b64
MD5 7874c463016408a137b011a4f723e8b0
BLAKE2b-256 52e57be798d68811bf2eac4a1177a52f3b66dbc50380ae053bf2cf6105b0dac6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.2-0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b884bfda1300f27f35d2a71efc8ca400b68c41a127144cb8543f491bcbb74377
MD5 2de396e984caf8a965b5f89f073af02d
BLAKE2b-256 307abf58fc7dcfb8d15cdf3f202094ec36e3513ef03cf0670dbf5ff5073e6c17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.2-0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9c8e0667e79fad2a2d4afc56495908067a874b333c9895daa4ec3ec34972bf7e
MD5 b7522ae9fc84f7f5c1c0108c2997298f
BLAKE2b-256 0a0966823efb3e9aa4a99b841952416b45abaa25d78aafeb4a78a41356a34800

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.2-0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0ebad4d5ac1114e3846ff5913ae7ffdd53bcef6d341d90018f6934b589dcdfb4
MD5 44d60cf8e43099bbd9d3657cd67951ca
BLAKE2b-256 30669be4f0ea68f26fa2797e371c84d1e48cdc571587f3907ddcc1c75264cb78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.2-0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 934a25b08468f5060558ba83426ec20a75f851e3bf7c033be417d8c3f264f641
MD5 504af0e6881cc25d35f59da3a7358899
BLAKE2b-256 acfc93d0f5c57193b882eb0826b960fef9189048631ecbe0691880d064bced23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.2-0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1e744505655d20956edf6c5f9f730b2c0e30518e8c78d6394b22593c04594827
MD5 e51da1fa07a7627d8ab86774615c398a
BLAKE2b-256 3ef147ca932445a187d8a94cb72b2f2c8bcb774d4e8cd4dd04d0712bf0c1e36e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.2-0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8353aa3686d032fcf7a7329c1e54dad0a7818462b7b337ab3dcd58c84d2a8ff5
MD5 ed94e9f648ff52932bf155359ffffcd0
BLAKE2b-256 0b7dfef1c571f6c1ce6ce2f0819ca360b8f0c6939342734c22429f84de5d5b5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.2-0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 85ca187c4fa0ed5f2a0666a1c42a695848d06014e0db001cd8fcf78f36b0c43a
MD5 0905122008962ad76572fd7dc65cf969
BLAKE2b-256 3d30de79ff21c023ff80a8d5089e950936f0ec74f40bc90d66d981a94198ea34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.2-0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7425881bffc42f28208f0c9120db343348bae8fab3dae83b03f56b9c5dd0f71d
MD5 2927900801a382214285c55534c12e72
BLAKE2b-256 dac7a64df4c8417dcf6df0b3075572b630e4567c8fa2e0f7d960c8ee4f0a6024

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.2-0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 02126a407cfe5fb6fa1877d46bed01e3839d0d3568603debd74d1468104a728c
MD5 519f0e55da7da4de5c4d4d6ccdff54e1
BLAKE2b-256 501cbb5f60291b1b9a7d070fb33ee3d616cb4607b4b009d899a3053124d21e23

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