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

Uploaded CPython 3.14Windows x86-64

mkl_umath-0.4.0-0-cp314-cp314-manylinux_2_28_x86_64.whl (193.8 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.13Windows x86-64

mkl_umath-0.4.0-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.0-0-cp312-cp312-win_amd64.whl (237.5 kB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

mkl_umath-0.4.0-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.0-0-cp310-cp310-win_amd64.whl (234.7 kB view details)

Uploaded CPython 3.10Windows x86-64

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

File metadata

  • Download URL: mkl_umath-0.4.0-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.0-0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 87ea16e26a4e495f32cf2ac487818b70e3ed51a0609a341240f4d37482fb2939
MD5 56a526bdfe5fd943af5a23a05aa64dbb
BLAKE2b-256 295a25cdc432c00a5b5e1a912fad3566c903574c19fd02443539e5bebb4b4fe4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.0-0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e9a677312f8edee31a1607cab88902119a797ebd37f5694cc50d4f75876e367f
MD5 7327d748d2ba49726186c20f2f214364
BLAKE2b-256 ba602381e81239fcc0ec487567230beea1573faa58eddcbec479d7258e3604f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkl_umath-0.4.0-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.0-0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 68c3a777fdae4f5646f028ffb575d21821e3a6c02a5d0071e2f6527b560bf369
MD5 dc73af695b32927ed1f460a93d54008c
BLAKE2b-256 6744b61c96ca4c1b77272e982796891ef8a991c40547bd5befa733c5a8af8d95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.0-0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 03813a2cc9c4c63a0c39c0e003449463c2dea66eb36faa0042bc7a7548a0c51d
MD5 285f3c92676dd4443f60fb902a47c85a
BLAKE2b-256 9f2307097a7b455e51f1952ea95cf1718180b39a0a26260ede04bf64e64110b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkl_umath-0.4.0-0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 237.5 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.0-0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c9cc690b11bb6ccee1bc385ef6e27ec35809b4e68e5f47e073be84c1e00b28a9
MD5 f0dae4579ea8bc26413e20fc8d2d7ec5
BLAKE2b-256 45e04c420e36414458b84fae2bdc4455fbb552c7105b6a6dd05bde51dffae31b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.0-0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 25a56b6228a6b503e80bf2a708135c761ed8daaa455dc5e4fecd8ccd42ff6946
MD5 d91d0bf82d0f75d38670e4ba006e42f4
BLAKE2b-256 2a19dcf504e023820ad8e5f8fd4c652ee89a133eb719850fb78fe20f573fedd8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkl_umath-0.4.0-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.0-0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8ecdaac6d062c54e31d5a8bc7b0e34cea97716a9227404985413690406f02728
MD5 6b6e8abc2455d2279b6b062c207668c7
BLAKE2b-256 33b72861a03576583a972042e55348db47670305f0faca822179e440adb9148a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.0-0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 06e0d6ad282501be9644cb4d3645234d9808121bbeca11364af0efe05055d3fb
MD5 525818dbf9caad9f3cef3d9b2ebde0f7
BLAKE2b-256 f8d2fab8117e8e9ab307afba6af56746bddcfebb29a985bb53ee43d8d63ae06a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkl_umath-0.4.0-0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 234.7 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.0-0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 348a686ce53db9fb787b025ff7b2c610be495947f2c68821399afd5b24f5ca19
MD5 065e0d069ee384500f48460a1f7cc2d5
BLAKE2b-256 a609eef23f065a8532981821abff59ead19df49c5ce838a440a8ce3a03029bac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkl_umath-0.4.0-0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4b86c69a8104d0366535c3b3040d8106cddcdacbae37c4c4eff6e0da8e3af8ec
MD5 61a4f24515b46aabfefb8d12bdac2956
BLAKE2b-256 2aa9c35d08f247d8410fe89f4cd9c71673f8d4000d55a5dac84ca453dd1942bd

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