
Mary Guillemard with Collabora has added OpenCL C driver support to Panfrost based on the CLC infrastructure used by the Asahi AGX Gallium3D code for Apple Silicon. This allows compiling OpenCL C kernels down to a NIR library and pre-compiled shader binaries. The PanVK Vulkan driver as part of this merge also adds libpan support for OpenCL C functions inside NIR builders like the Panfrost Gallium3D code. Arm Mali Bifrost and Valhall graphics processors is what is currently supported by this OpenCL infrastructure code.
Those interested in OpenCL C support for Arm Mali hardware with the Panfrost driver in Mesa 25.1 can find out more about this support via this merge that landed a short time ago into Mesa Git.