From 1c26e70bbc9d18044094322e6b8c19db7eee6958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Mon, 10 Aug 2020 16:26:42 +0200 Subject: [PATCH] nixos/manual: add a section about enabling OpenCL for Intel GPUs --- nixos/doc/manual/configuration/gpu-accel.xml | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/nixos/doc/manual/configuration/gpu-accel.xml b/nixos/doc/manual/configuration/gpu-accel.xml index 0aa629cce98..995581c8735 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 + +
+ Intel + + + Intel + Gen8 and later GPUs are supported by the Intel NEO OpenCL + runtime that is provided by the + intel-compute-runtime package. For Gen7 GPUs, + the deprecated Beignet runtime can be used, which is provided + by the beignet package. The proprietary Intel + OpenCL runtime, in the intel-ocl package, is + an alternative for Gen7 GPUs. + + + + The intel-compute-runtime, beignet, + or intel-ocl package can be added to + to enable OpenCL + support. For example, for Gen8 and later GPUs, the following + configuration can be used: + + = [ + intel-compute-runtime +]; + + +