Mesa's Rusticl Lands Support For SPIR-V Programs

Written by Michael Larabel in Mesa on 13 February 2023 at 08:45 AM EST. 5 Comments
MESA
It's been a while since there has been any major additions to Mesa's Rusticl OpenCL implementation led by Red Hat's Karol Herbst while today he merged support for SPIR-V programs to this Rust-written driver. This SPIR-V support is necessary for eventually supporting SYCL and HIP.

Rusticl already makes use of the SPIR-V intermediate representation internally for all OpenCL programs while this latest work to land is support for ingesting SPIR-V programs such as via the cl_khr_il_program extension.

The merge request had been open for the past four months while today everything was wrapped up and the SPIR-V support merged for Mesa 23.1, which will be released as stable around May.

Rusticl SPIR-V merged for Mesa 23.1


As Karol noted in that merge request, "we'll need this optional OpenCL feature for SyCL and HIP."

It's great seeing all the work going into Rusticl from broad support by Mesa Gallium3D drivers, experimental support with Zink for running on Vulkan drivers, and some very positive performance results so far. Rusticl certainly is far better off than Gallium3D's older "Clover" OpenCL implementation.
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