···7070 Core Next</link> (GCN) GPUs are supported through the
7171 <package>rocm-opencl-icd</package> package. Adding this package to
7272 <xref linkend="opt-hardware.opengl.extraPackages"/> enables OpenCL
7373- support. However, OpenCL Image support is provided through the
7474- non-free <package>rocm-runtime-ext</package> package. This package can
7575- be added to the same configuration option, but requires that
7676- <varname>allowUnfree</varname> option is is enabled for nixpkgs. Full
7777- OpenCL support on supported AMD GPUs is thus enabled as follows:
7373+ support:
78747975 <programlisting><xref linkend="opt-hardware.opengl.extraPackages"/> = [
8076 rocm-opencl-icd
8181- rocm-runtime-ext
8277];</programlisting>
8383- </para>
8484-8585- <para>
8686- It is also possible to use the OpenCL Image extension without a
8787- system-wide installation of the <package>rocm-runtime-ext</package>
8888- package by setting the <varname>ROCR_EXT_DIR</varname> environment
8989- variable to the directory that contains the extension:
9090-9191- <screen><prompt>$</prompt> export \
9292-ROCR_EXT_DIR=`nix-build '<nixpkgs>' --no-out-link -A rocm-runtime-ext`/lib/rocm-runtime-ext</screen>
9393- </para>
9494-9595- <para>
9696- With either approach, you can verify that OpenCL Image support
9797- is indeed working with the <command>clinfo</command> command:
9898-9999- <screen><prompt>$</prompt> clinfo | grep Image
100100- Image support Yes</screen>
10178 </para>
10279 </section>
10380
···465465 rhc = throw "deprecated in 2019-04-09: abandoned by upstream.";
466466 rng_tools = rng-tools; # added 2018-10-24
467467 robomongo = robo3t; #added 2017-09-28
468468+ rocm-runtime-ext = throw "rocm-runtime-ext has been removed, since its functionality was added to rocm-runtime"; #added 2020-08-21
468469 rssglx = rss-glx; #added 2015-03-25
469470 recordmydesktop = throw "recordmydesktop has been removed from nixpkgs, as it's unmaintained and uses deprecated libraries"; # added 2019-12-10
470471 gtk-recordmydesktop = throw "gtk-recordmydesktop has been removed from nixpkgs, as it's unmaintained and uses deprecated libraries"; # added 2019-12-10