···70 Core Next</link> (GCN) GPUs are supported through the
71 <package>rocm-opencl-icd</package> package. Adding this package to
72 <xref linkend="opt-hardware.opengl.extraPackages"/> enables OpenCL
73- support. However, OpenCL Image support is provided through the
74- non-free <package>rocm-runtime-ext</package> package. This package can
75- be added to the same configuration option, but requires that
76- <varname>allowUnfree</varname> option is is enabled for nixpkgs. Full
77- OpenCL support on supported AMD GPUs is thus enabled as follows:
7879 <programlisting><xref linkend="opt-hardware.opengl.extraPackages"/> = [
80 rocm-opencl-icd
81- rocm-runtime-ext
82];</programlisting>
83- </para>
84-85- <para>
86- It is also possible to use the OpenCL Image extension without a
87- system-wide installation of the <package>rocm-runtime-ext</package>
88- package by setting the <varname>ROCR_EXT_DIR</varname> environment
89- variable to the directory that contains the extension:
90-91- <screen><prompt>$</prompt> export \
92-ROCR_EXT_DIR=`nix-build '<nixpkgs>' --no-out-link -A rocm-runtime-ext`/lib/rocm-runtime-ext</screen>
93- </para>
94-95- <para>
96- With either approach, you can verify that OpenCL Image support
97- is indeed working with the <command>clinfo</command> command:
98-99- <screen><prompt>$</prompt> clinfo | grep Image
100- Image support Yes</screen>
101 </para>
102 </section>
103
···70 Core Next</link> (GCN) GPUs are supported through the
71 <package>rocm-opencl-icd</package> package. Adding this package to
72 <xref linkend="opt-hardware.opengl.extraPackages"/> enables OpenCL
73+ support:
00007475 <programlisting><xref linkend="opt-hardware.opengl.extraPackages"/> = [
76 rocm-opencl-icd
077];</programlisting>
00000000000000000078 </para>
79 </section>
80
···465 rhc = throw "deprecated in 2019-04-09: abandoned by upstream.";
466 rng_tools = rng-tools; # added 2018-10-24
467 robomongo = robo3t; #added 2017-09-28
0468 rssglx = rss-glx; #added 2015-03-25
469 recordmydesktop = throw "recordmydesktop has been removed from nixpkgs, as it's unmaintained and uses deprecated libraries"; # added 2019-12-10
470 gtk-recordmydesktop = throw "gtk-recordmydesktop has been removed from nixpkgs, as it's unmaintained and uses deprecated libraries"; # added 2019-12-10
···465 rhc = throw "deprecated in 2019-04-09: abandoned by upstream.";
466 rng_tools = rng-tools; # added 2018-10-24
467 robomongo = robo3t; #added 2017-09-28
468+ rocm-runtime-ext = throw "rocm-runtime-ext has been removed, since its functionality was added to rocm-runtime"; #added 2020-08-21
469 rssglx = rss-glx; #added 2015-03-25
470 recordmydesktop = throw "recordmydesktop has been removed from nixpkgs, as it's unmaintained and uses deprecated libraries"; # added 2019-12-10
471 gtk-recordmydesktop = throw "gtk-recordmydesktop has been removed from nixpkgs, as it's unmaintained and uses deprecated libraries"; # added 2019-12-10