AMD GPU: Difference between revisions
imported>Jiehong |
imported>Jiehong mNo edit summary |
||
Line 23: | Line 23: | ||
== OpenCL == | == OpenCL == | ||
From 20.09, add this to your hardware-configuration.nix: | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
hardware.opengl.extraPackages = with pkgs; [ | hardware.opengl.extraPackages = with pkgs; [ | ||
rocm-opencl-icd | rocm-opencl-icd | ||
]; | ]; | ||
</syntaxhighlight> | </syntaxhighlight> |