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

Uploaded CPython 3.14Windows x86-64

mkl_umath-0.4.1-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.1-0-cp313-cp313-win_amd64.whl (237.4 kB view details)

Uploaded CPython 3.13Windows x86-64

mkl_umath-0.4.1-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.1-0-cp312-cp312-win_amd64.whl (237.6 kB view details)

Uploaded CPython 3.12Windows x86-64

mkl_umath-0.4.1-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.1-0-cp311-cp311-win_amd64.whl (237.6 kB view details)

Uploaded CPython 3.11Windows x86-64

mkl_umath-0.4.1-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.1-0-cp310-cp310-win_amd64.whl (234.8 kB view details)

Uploaded CPython 3.10Windows x86-64

mkl_umath-0.4.1-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.1-0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: mkl_umath-0.4.1-0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 237.7 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mkl_umath-0.4.1-0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 d164054f6b56a8816494f4a4a682c3bacca9ee8d82fbb80c0f8bcae78838d542
MD5 6988d5d61ffa3de69006a9a648cf27c5
BLAKE2b-256 f3d4a975c74fd27837e6d33fd145564c123b7159201c05c6c361a5ea2ba8f246

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.1-0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aa6d797e65980839638969a666e44cbcfb0bc9a94b468b9a042b0b54570a2608
MD5 1b7d6ca98da25b678dd6c93052fc8e97
BLAKE2b-256 42ce3ac6b1cf516bf2766e8add03dd8df9eea76c55e9ab37e40670bef93e434c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkl_umath-0.4.1-0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 237.4 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mkl_umath-0.4.1-0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9da46740e6a89ba8941b565685762ba84bcc17183586801f148d2217b719b1ba
MD5 92a11cc37ddd904b933c8fa7de34ee5c
BLAKE2b-256 f8678cee614075674c403d36d95a39d976b688de1de3c6eecd8bf53165f806fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.1-0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 98134c99891e4aeed10c862414f43d92183e23d319201b0dec3a4fbf212d1547
MD5 da81aeef9a7b6c13a167112aece9ff60
BLAKE2b-256 e045c3088bd9d23dd17e6570d7125813954463d7851d7f0affddba1adcc2aa62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkl_umath-0.4.1-0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 237.6 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mkl_umath-0.4.1-0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e533256c6154f65b46fb558c47291c890aa9181f67fc37a64a5a53307f2f292d
MD5 8bd8bebf6bb008c1acf9ddf24103b65c
BLAKE2b-256 1049ca3056b708e8b5b80084356f46a4e6139d89a218608ba09de9706e9b1eca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.1-0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b99db83f9c08b05b6f53a40b892e1c8b831220e3f3985282238a5e5e5698d0b5
MD5 5041b0b58f34e5de0fc4a823b2c05ae5
BLAKE2b-256 4f919feac25d77c4ad3d964a4ac7b4f9f476be18ac4689791c557e42221ec922

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkl_umath-0.4.1-0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 237.6 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mkl_umath-0.4.1-0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 17e805db9427b13409a1e517f46c7001a413934c00df6f14a6e188aaca8d34d7
MD5 8f7669ab53c94cba2d7a622b54f74e7b
BLAKE2b-256 12b84a1b00bf8b51a433f70b4765b7a844fe7ff3635f3f6615979e2c23fa7b47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.1-0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 444ffb648e87d5f383a6058ac82346822efc7b8be7d15167bc08a953408584ff
MD5 aa9fb38202e0f15fc7905436d1fe05b8
BLAKE2b-256 0dd15d310123db2abf0ada67f4ff3a1f62080888fd9a49a9a59167a6540ba624

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkl_umath-0.4.1-0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 234.8 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mkl_umath-0.4.1-0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 089f6575b96f72ab084b156c29013c4b0f5e82fdf6c47dc3dfb4d43d73655602
MD5 97540cf509f1688cc6e2d77abf9b70ad
BLAKE2b-256 e5cb93a56c53d48a5b8f31fb0a1aaf45c1327ad94222684b99f6407a283c80f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.1-0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 234a8f6cbdc02ebe91f02ecd92aeaf3236d351a20a329b787d2f988893deeaa8
MD5 a83fdb454437df015c56c44265a2ce87
BLAKE2b-256 bba20c915d98f4125601343e1a364a84ad3c7a618c4e47d3c260e0637e2f175a

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