diff options
author | Daniël de Kok <me@danieldk.eu> | 2020-08-21 08:46:44 +0200 |
---|---|---|
committer | Daniël de Kok <me@danieldk.eu> | 2020-08-21 08:50:51 +0200 |
commit | 95e50896078c249ecb57c2cbf36a553d2880f47d (patch) | |
tree | 1d2e86e8cb192f6c2d60b0f6506eeb22353eeace /nixos | |
parent | 5ce029d582d3841b3f5707e8f501a913b31f6d11 (diff) | |
download | nixpkgs-95e50896078c249ecb57c2cbf36a553d2880f47d.tar nixpkgs-95e50896078c249ecb57c2cbf36a553d2880f47d.tar.gz nixpkgs-95e50896078c249ecb57c2cbf36a553d2880f47d.tar.bz2 nixpkgs-95e50896078c249ecb57c2cbf36a553d2880f47d.tar.lz nixpkgs-95e50896078c249ecb57c2cbf36a553d2880f47d.tar.xz nixpkgs-95e50896078c249ecb57c2cbf36a553d2880f47d.tar.zst nixpkgs-95e50896078c249ecb57c2cbf36a553d2880f47d.zip |
nixos/manual: remove references to rocm-runtime-ext
rocm-runtime-ext is not needed anymore for OpenCL image support.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/configuration/gpu-accel.xml | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/nixos/doc/manual/configuration/gpu-accel.xml b/nixos/doc/manual/configuration/gpu-accel.xml index 9928121a56e..251e5c26ba4 100644 --- a/nixos/doc/manual/configuration/gpu-accel.xml +++ b/nixos/doc/manual/configuration/gpu-accel.xml @@ -70,35 +70,12 @@ Platform Vendor Advanced Micro Devices, Inc.</screen> Core Next</link> (GCN) GPUs are supported through the <package>rocm-opencl-icd</package> package. Adding this package to <xref linkend="opt-hardware.opengl.extraPackages"/> enables OpenCL - support. However, OpenCL Image support is provided through the - non-free <package>rocm-runtime-ext</package> package. This package can - be added to the same configuration option, but requires that - <varname>allowUnfree</varname> option is is enabled for nixpkgs. Full - OpenCL support on supported AMD GPUs is thus enabled as follows: + support: <programlisting><xref linkend="opt-hardware.opengl.extraPackages"/> = [ rocm-opencl-icd - rocm-runtime-ext ];</programlisting> </para> - - <para> - It is also possible to use the OpenCL Image extension without a - system-wide installation of the <package>rocm-runtime-ext</package> - package by setting the <varname>ROCR_EXT_DIR</varname> environment - variable to the directory that contains the extension: - - <screen><prompt>$</prompt> export \ -ROCR_EXT_DIR=`nix-build '<nixpkgs>' --no-out-link -A rocm-runtime-ext`/lib/rocm-runtime-ext</screen> - </para> - - <para> - With either approach, you can verify that OpenCL Image support - is indeed working with the <command>clinfo</command> command: - - <screen><prompt>$</prompt> clinfo | grep Image - Image support Yes</screen> - </para> </section> <section xml:id="sec-gpu-accel-opencl-intel"> |