There's Finally An Easy Way To Track Mesa's OpenCL Support

Written by Michael Larabel in Mesa on 1 March 2021 at 01:00 AM EST. 17 Comments
MESA
While Mesa is most well known for providing OpenGL and Vulkan open-source drivers on Linux systems, via the "Clover" Gallium3D state tracker is also maturing support for OpenCL. But until now it hasn't been straight-forward to track the state of Mesa's OpenCL supported versions and extensions.

Hitting Mesa 21.1-devel this weekend is finally the OpenCL status reporting to the features documentation (docs/features.txt). The OpenCL status reporting is done in a similar manner to the Vulkan and OpenGL extension/version reporting, which makes it now quite easy and quick to check on the current Mesa OpenCL status.

The current Mesa features reporting can be seen via the Git interface. Or more easily is MesaMatrix.net that tracks the Mesa Git features.txt in a nice, HTML'ed interface.

Or long story short, Mesa has OpenCL 1.x but still lacking image support throughout the drivers. OpenCL 2.x/3.0 remains yet to be completed but there has been an effort as previously reported on getting through OpenCL 3.0 support working. Hopefully this year we will see Mesa support OpenCL 3.0 on mainline with the RadeonSI and Nouveau drivers at least.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week