'Why OpenCL refuses to work on compatible hardware under Ubuntu 20.04?

Well, I need a help from someone who has some experience using AMD GPUs on Linux.

I have AMD ATI Radeon HD 8550M. It supports OpenCL 1.2. And AMD ATI Radeon R3 Graphics which supports OpenCL 2.0. I have latest Mesa driver installed.

And here's a question: why clinfo displays "0"?

Not to mention that I can't use it in any software.



Solution 1:[1]

The old opencl-mesa runtime seems broken. Try opencl-amd or the latest official drivers instead.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ProjectPhysX