Mesa's Clover OpenCL Adds Support For Loading SPIR-V IL Programs

Written by Michael Larabel in Mesa on 2 January 2021 at 12:27 PM EST. 1 Comment
MESA
The latest OpenCL "Clover" work to land in Mesa 21.0 is support for the cl_khr_il_program extension.

This one year old merge request was merged on New Year's Day. The work by Pierre Moreau is support for the cl_khr_il_program extension functionality that since has been merged into OpenCL core. This is about supporting OpenCL kernels as intermediate language (SPIR/SPIR-V IL) rather than OpenCL C code. The merge request has support for the original extension as well as the extra IL program functionality since landing into core with OpenCL 2.1.

More details via the now honored MR.

It will be quite interesting to see how useful Mesa's OpenCL "Clover" Gallium3D state tracker becomes in 2021 thanks to the work of Red Hat and others focusing on the Nouveau support and more. There is still pending work as well for OpenCL 3.0 with Clover.
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