onemkl-sycl-rng
Intel® oneAPI Math Kernel Library
What it is and what it does
onemkl-sycl-rng is Intel's Python binding to the oneAPI Math Kernel Library, specifically exposing C and Data Parallel C++ (DPC++) interfaces for mathematical operations optimized for Intel hardware. It targets developers building high-performance numerical applications that need to leverage Intel CPUs and GPUs through a Python interface.
The package ships as precompiled wheels for Linux and Windows x86-64 platforms and depends on three Intel runtime libraries (dpcpp-cpp-rt, intel-opencl-rt, mkl). A key gotcha is that the MKLROOT environment variable is not set automatically during PyPI installation and must be configured manually according to Intel's documentation. The package is marked Production/Stable and has been actively maintained.
Use it for:
- Accelerate numerical simulations and linear algebra operations on Intel CPUs and GPUs from Python applications.
- Build high-performance scientific computing pipelines that require optimized math routines beyond standard libraries.
- Integrate Intel hardware-optimized random number generation into Monte Carlo or statistical modeling workflows.
- Develop machine learning or data science applications targeting Intel processors with native performance tuning.
- Port existing C/C++ oneAPI code to Python while preserving hardware-specific optimizations.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides C and Data Parallel C++ (DPC++) interfaces to Intel oneAPI Math Kernel Library for optimized mathematical computations on Intel CPUs and GPUs.
Yes, if you are targeting Intel hardware and need optimized mathematical routines. The package is actively maintained, has no known vulnerabilities, and is in the top tier of PyPI packages by download volume. However, be prepared for medium install friction (three runtime dependencies) and manual MKLROOT configuration. Verify Python version compatibility and license terms for your use case before committing.
Install
onemkl-sycl-rng on PyPI
pip
pip install onemkl-sycl-rnguv
uv add onemkl-sycl-rngpoetry
poetry add onemkl-sycl-rngInstalling onemkl-sycl-rng
Before you install
Medium install friction due to three runtime dependencies (dpcpp-cpp-rt, intel-opencl-rt, mkl) that must be present. Package is actively maintained. Note that MKLROOT environment variable requires manual setup post-installation.
License in practice
Licensed under Intel Simplified Software License (proprietary, non-SPDX). License treatment is unclear, so users should review Intel's terms directly before integrating into commercial or open-source projects.
Quickstart
pip install onemkl-sycl-rng
# After installation, set MKLROOT environment variable
# (see Intel documentation for your platform)
import onemkl_sycl_rng
Requires dpcpp-cpp-rt, intel-opencl-rt, and mkl runtime dependencies to be installed; MKLROOT environment variable must be configured manually post-installation.
Verify before relying
- Exact Python version support (requires_python is unspecified in metadata)
- Whether C/DPC++ interfaces are directly callable from Python or require intermediate compilation
- Availability and completeness of random number generation routines in this release
Package facts
| License | Intel Simplified Software License (unclear) |
| Python support | not specified |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 3 — dpcpp-cpp-rt, intel-opencl-rt, mkl |
| Maintenance | actively maintained — 44 days since the last release |
| First released | |
| Downloads | 171,683/month — #10,359 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: onemkl_sycl_rng-2026.1.0-py2.py3-none-manylinux_2_28_x86_64.whl; onemkl_sycl_rng-2026.1.0-py2.py3-none-win_amd64.whl
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
mklIntel oneAPI Math Kernel Library provides…
unclear · top 15,000 on PyPI
onemkl-sycl-dftProvides optimized C and Data Parallel C++…
unclear · top 15,000 on PyPI
onemkl-licenseProvides C and Data Parallel C++ (DPC++)…
unclear · top 15,000 on PyPI
onemkl-sycl-blasProvides optimized C and Data Parallel C++…
unclear · top 15,000 on PyPI
onemkl-sycl-lapackProvides optimized C and Data Parallel C++…
unclear · top 15,000 on PyPI
mkl-includeProvides C and Data Parallel C++ (DPC++)…
unclear · top 15,000 on PyPI
onemkl-sycl-sparseProvides C and Data Parallel C++ (DPC++)…
unclear · top 15,000 on PyPI
mkl-staticProvides C and Data Parallel C++ interfaces to…
unclear · top 15,000 on PyPI
dpcpp-cpp-rtProvides compiler-specific runtime libraries…
unclear · top 15,000 on PyPI
pyudorandomGenerates pseudorandom numbers using algebraic…
unclear · top 15,000 on PyPI