AMD GPU: Difference between revisions

imported>Jiehong
m Add OpenCL instructions
imported>Jiehong
No edit summary
Line 28: Line 28:
hardware.opengl.extraPackages = with pkgs; [
hardware.opengl.extraPackages = with pkgs; [
   rocm-opencl-icd  # NixOS Unstable
   rocm-opencl-icd  # NixOS Unstable
   khronos-ocl-icd-loader # NixOS 20.03
   amdappsdk # NixOS 20.03
];
];
</syntaxhighlight>
</syntaxhighlight>


You should also install the clinfo package to verify that Open CL is correctly setup (or check in the program you use to see if it is now available, such as in Darktable).
You should also install the clinfo package to verify that Open CL is correctly setup (or check in the program you use to see if it is now available, such as in Darktable).