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
  • tbb-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, tbb-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.3.1-0-cp314-cp314-win_amd64.whl (229.7 kB view details)

Uploaded CPython 3.14Windows x86-64

mkl_umath-0.3.1-0-cp314-cp314-manylinux_2_28_x86_64.whl (184.4 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

mkl_umath-0.3.1-0-cp313-cp313-win_amd64.whl (229.4 kB view details)

Uploaded CPython 3.13Windows x86-64

mkl_umath-0.3.1-0-cp313-cp313-manylinux_2_28_x86_64.whl (184.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

mkl_umath-0.3.1-0-cp312-cp312-win_amd64.whl (229.8 kB view details)

Uploaded CPython 3.12Windows x86-64

mkl_umath-0.3.1-0-cp312-cp312-manylinux_2_28_x86_64.whl (184.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

mkl_umath-0.3.1-0-cp311-cp311-win_amd64.whl (229.7 kB view details)

Uploaded CPython 3.11Windows x86-64

mkl_umath-0.3.1-0-cp311-cp311-manylinux_2_28_x86_64.whl (185.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

mkl_umath-0.3.1-0-cp310-cp310-win_amd64.whl (226.5 kB view details)

Uploaded CPython 3.10Windows x86-64

mkl_umath-0.3.1-0-cp310-cp310-manylinux_2_28_x86_64.whl (186.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

File details

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

File metadata

  • Download URL: mkl_umath-0.3.1-0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 229.7 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for mkl_umath-0.3.1-0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 0a82d20cac3b4ee757d698434f14412432e3a47e4c94de376405e1418b84f8c0
MD5 6cb0e99010e1fbbe7c13c31371676e2c
BLAKE2b-256 593f01564f81ef0188c32f27b91ffdc7c8cd5b41e9ace87da198014e6f219d32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.3.1-0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c0c6cece961d79c0dfd44bcfcff0255ce89c69463896090d55c85cb039031885
MD5 5a71916386ba1a58fd0f6140f60332a2
BLAKE2b-256 18c3eab82bab003b609f0d65112c7c847f8781212203dbe462e3cdf874aae6c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkl_umath-0.3.1-0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 229.4 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for mkl_umath-0.3.1-0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7b40ab6ef98e2497cc4da8faa3b69d0a33a73f7f805e5aab40c29f1c07a9b7d4
MD5 84aa0b4328ab5a92467feccae855d4ca
BLAKE2b-256 e7117b9f23d5ffd94224c48a4e0ec7e3027cf4829bb72b7b9fcf5972059e862c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.3.1-0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1c6aa55f801be9adb8fd9477b6954842af4a82972c7a6d6a0779bc75681f4d73
MD5 61e7abec7f4b612a63bf50a12bcefbd8
BLAKE2b-256 9bc46a485c34411203eee9bd207a720767ba4980b12aa9854e5ab55d13e25b9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkl_umath-0.3.1-0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 229.8 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for mkl_umath-0.3.1-0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 989c29113860b89ed55781452894aacfff4e77a6359cc6bdfa34c991b94c2986
MD5 3a62252785b1a4ca2856ca1b2b89af3c
BLAKE2b-256 9129b4cc452daba4bfbf493aae41d05385c886b4cbb3c0e6738cfbffcbd4dcab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.3.1-0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cbfde1d989a09a259c052ea48e4a77934c73739c619816f907bdda6ed7418e66
MD5 bf62c16d728ffba0d13056eb2dbdbada
BLAKE2b-256 890a235c91178f1b25af36e2e8b9b9de0056ed39d82cfb0c4e32b63c0bfc66a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkl_umath-0.3.1-0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 229.7 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for mkl_umath-0.3.1-0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ebfdb168b57f15cc1d4026490eab9586d081feca658ed818f7c84db117cafd9e
MD5 3031ee96ae4dd2026902bfac5529152e
BLAKE2b-256 0a3006e36e676b742b393a57b86af6db02c53c1379a7a1b62ad328a95136c5a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.3.1-0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ca0590c4991b0bcabb63ad2d58a44dba1f0d7eb6c557805354ed77b61fba3cd9
MD5 a9c9b63b03177a8facee70c7e9193c02
BLAKE2b-256 a61ee5a759067444a6a89fee94d51d6f380943ad442299d08ab8a06a88b32d7c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkl_umath-0.3.1-0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 226.5 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for mkl_umath-0.3.1-0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8bc5871e9704ca8e52faaa88f253f1f2b87e3a7ef176ce38566a63770a644cce
MD5 ff2ccbce5e1537bdfb10afdc1956ea02
BLAKE2b-256 b2c35760274fac1384e1c161478753d0750fbd8a01093c2e632e710bf55f4e49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.3.1-0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d24a89e90056223535f283af70c5ce9eac204852f91e26f1100f84ccf301eadb
MD5 638f0b9d71571974fb89b3c1f1164154
BLAKE2b-256 e1ac42a644bed25b446888d46072c0fbe3e2811616f3e521f0032f696f30ca04

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