The `intel-opencl-rt` PyPI package provides the Intel® oneAPI OpenCL* Runtime library. This is not a Python library with direct importable modules but rather a runtime provider, installing shared libraries (.so, .dll) that other Python OpenCL binding libraries (e.g., `pyopencl`) can then utilize to access Intel GPUs or CPUs with integrated graphics for general-purpose computing. It is part of the broader Intel oneAPI ecosystem and is updated periodically, often in sync with major oneAPI releases.
pip install intel-opencl-rtVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to use `pyopencl` to perform a simple vector addition, leveraging the OpenCL runtime provided by `intel-opencl-rt`. You will first need to install `pyopencl` (e.g., `pip install pyopencl`). The `intel-opencl-rt` package installs the backend necessary for `pyopencl` to find and utilize Intel OpenCL devices.
Instead of trying to import, install the package and then use a Python OpenCL binding library like `pyopencl` or `pylibopencl`. These libraries will automatically detect the installed OpenCL runtime.
Ensure your system has a supported Intel CPU with integrated graphics or an Intel discrete GPU. Verify that necessary system-level drivers are installed and up-to-date, typically via Intel's driver support assistant or by installing the full oneAPI Base Toolkit.
Prefer installing the oneAPI Base Toolkit for a comprehensive and managed installation. Only use `pip install intel-opencl-rt` if you specifically need just the OpenCL runtime in a Python environment and do not have a full oneAPI installation, or if you encounter issues with system-wide installations.
No dependency data recorded yet.