Mesa's Rusticl Lands Experimental FP16 OpenCL Support

Written by Michael Larabel in Mesa on 25 June 2023 at 01:25 PM EDT. 3 Comments
MESA
Mesa's Rust-written OpenCL implementation Rusticl for Gallium3D drivers has now added experimental FP16 to its feature set.

Red Hat's Karol Herbst who has led work on this modern OpenCL implementation that is superior to the former "Clover" Gallium3D state tracker has been tackling FP16 among the latest features. Merged this week for Mesa 23.2's release next quarter is an experimental option for exposing the cl_khr_fp16 extension for FP16 data type support.

Rusticl with FP16 merge


Karol commented though in the merge request, "This is most likely very broken, just adding it so we can start looking into issues."

This experimental support currently relies on the RUSTICL_ENABLE=fp16 environment variable being set. Part of the problem for it being experimental and possibly even broken is over the lack of OpenCL conformance test suite (CTS) cases around the FP16 data type. The libclc code also has some missing elements of FP16 support.
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