Skip to content

Commit

Permalink
clarify requirements for running on GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes-intel committed Jan 29, 2025
1 parent e8f9aa7 commit e4774ab
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
22 changes: 19 additions & 3 deletions doc/sources/oneapi-gpu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,35 @@ implements core oneAPI concepts like queues and devices.
Prerequisites
-------------

For execution on GPU, DPC++ compiler runtime and driver are required. Refer to `DPC++ system
For execution on GPU, DPC++ compiler runtime and driver are required, as well as Python package ``dpctl``. Refer to `DPC++ system
requirements <https://www.intel.com/content/www/us/en/developer/articles/system-requirements/intel-oneapi-dpcpp-system-requirements.html>`_ for details.

DPC++ compiler runtime can be installed either from PyPI or Anaconda:
DPC++ compiler runtime can be installed either from PyPI or Conda:

- Install from PyPI::

pip install dpcpp-cpp-rt

- Install using Conda via the Intel repository::
- Install using Conda from Intel's repository::

conda install dpcpp_cpp_rt -c https://software.repos.intel.com/python/conda/

- Install using Conda from the conda-forge channel::

conda install dpcpp_cpp_rt -c conda-forge

Likewise for ``dpctl``:

- Install from PyPI::

pip install dpctl

- Install using Conda from Intel's repository::

conda install dpctl -c https://software.repos.intel.com/python/conda/

*(Package dpctl is not yet available in conda-forge)*

Device offloading
-----------------

Expand Down
3 changes: 3 additions & 0 deletions doc/sources/quick-start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ To install |intelex|, run:
- [CPU, GPU]


Note: running on GPU requires additional dependencies, see :ref:`oneapi-gpu`.


Install from Anaconda* Cloud
********************************************
Expand Down Expand Up @@ -305,6 +307,7 @@ To prevent version conflicts, we recommend installing `scikit-learn-intelex` int
- [CPU]


Note: running on GPU requires additional dependencies, see :ref:`oneapi-gpu`.

Build from Sources
**********************
Expand Down

0 comments on commit e4774ab

Please sign in to comment.