Microsoft's "CLOn12" Mesa Code Adds SPIR/SPIR-V Support

Written by Michael Larabel in Mesa on 23 September 2021 at 09:09 AM EDT. 16 Comments
MESA
Microsoft's "CLOn12" effort to allow OpenCL over DirectX 12 by leveraging Mesa now has landed a major rework to its code within Mesa.

There's been a five month old merge request to Microsoft's CLC code within Mesa to rework its compiler interface. The focus of this big patch series from Microsoft has been on being able to support SPIR and SPIR-V within CLOn12. Plus this reworked code is in better shape.

SPIR, of course, being the intermediate language developed by The Khronos Group originally for OpenCL. SPIR-V is the evolution of that IR designed around modern industry API needs and that supports ingestion into Vulkan and OpenGL 4.6 while retaining OpenCL support too.

The merge request with that big compiler rework has merged this morning. There is also this OpenCLOn12 merge to Microsoft's GitHub repository that adds the support in turn for SPIR-V IL programs.
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