How to install OpenCL for Nvidia GPU on Debian 11 (Bullseye)

For supported chips, it is as simple as installing the nvidia-opencl-icd package (from the non-free component). You can then list OpenCL capabilities by running clinfo from the clinfo package. This also works on headless machines.

If you don’t know if your chip is supported, try running nvidia-detect from the nvidia-detect package.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.