diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2020-08-14 12:09:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-14 12:09:49 +0200 |
commit | 9c8c31b24167db07c1bb90f7fe109e2ba0693229 (patch) | |
tree | 15c9965db92fd3dac071aa0f53b987db072a5c68 /nixos | |
parent | 33ea7ef8fdbe272ce3b94c33679c865d6b628021 (diff) | |
parent | 1c26e70bbc9d18044094322e6b8c19db7eee6958 (diff) |
Merge pull request #95086 from danieldk/manual-intel-opencl
nixos/manual: add a section about enabling OpenCL for Intel GPUs
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/configuration/gpu-accel.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixos/doc/manual/configuration/gpu-accel.xml b/nixos/doc/manual/configuration/gpu-accel.xml index dc806e8812d4..9928121a56e6 100644 --- a/nixos/doc/manual/configuration/gpu-accel.xml +++ b/nixos/doc/manual/configuration/gpu-accel.xml @@ -100,6 +100,35 @@ ROCR_EXT_DIR=`nix-build '<nixpkgs>' --no-out-link -A rocm-runtime-ext`/lib Image support Yes</screen> </para> </section> + + <section xml:id="sec-gpu-accel-opencl-intel"> + <title>Intel</title> + + <para> + <link + xlink:href="https://en.wikipedia.org/wiki/List_of_Intel_graphics_processing_units#Gen8">Intel + Gen8 and later GPUs</link> are supported by the Intel NEO OpenCL + runtime that is provided by the + <package>intel-compute-runtime</package> package. For Gen7 GPUs, + the deprecated Beignet runtime can be used, which is provided + by the <package>beignet</package> package. The proprietary Intel + OpenCL runtime, in the <package>intel-ocl</package> package, is + an alternative for Gen7 GPUs. + </para> + + <para> + The <package>intel-compute-runtime</package>, <package>beignet</package>, + or <package>intel-ocl</package> package can be added to + <xref linkend="opt-hardware.opengl.extraPackages"/> to enable OpenCL + support. For example, for Gen8 and later GPUs, the following + configuration can be used: + + <programlisting><xref linkend="opt-hardware.opengl.extraPackages"/> = [ + intel-compute-runtime +];</programlisting> + + </para> + </section> </section> <section xml:id="sec-gpu-accel-vulkan"> |