@@ -13,8 +13,34 @@ CUDA support or try latest features.
13
13
Building using oneAPI DPC++
14
14
---------------------------
15
15
16
- Install oneAPI and graphics drivers to the system prior
17
- to proceeding further.
16
+
17
+ Prerequisites
18
+ ~~~~~~~~~~~~~
19
+
20
+ Install oneAPI and graphics drivers according to your targeted hardware:
21
+
22
+
23
+ - To target Intel GPUs, see the `Installation Page <https://dgpu-docs.intel.com/driver/installation.html >`_
24
+ of the Intel(R) software for general purpose GPU capabilities document for
25
+ driver information.
26
+ - To target NVIDIA* or AMD* GPUs, see the vendor website for drivers, as well
27
+ as `CodePlay plugins <https://codeplay.com/solutions/oneapi/plugins/ >`_ to
28
+ enable hardware targeting.
29
+ - To target a CPU, the OpenCL* CPU driver is included as a part of the
30
+ oneAPI DPC++ Compiler installation. The CPU
31
+ driver is also packaged in conda, and is automatically made available using
32
+ conda activation scripts on Linux*, and on Windows* (in user-mode).
33
+ If conda is used with elevated privileges in Windows (similar to
34
+ GitHub Actions CI), a PowerShell script must be run:
35
+
36
+ .. code-block :: powershell
37
+
38
+ & $Env: CONDA_PREFIX \Scripts\script_name.ps1
39
+
40
+ Use the script ``set-intel-ocl-icd-registry.ps1 `` to set
41
+ appropriate registry key, and ``unset-intel-ocl-icd-registry.ps1 ``
42
+ to remove it.
43
+
18
44
19
45
Activate oneAPI
20
46
~~~~~~~~~~~~~~~
0 commit comments