Qualcomm Announces Mesa VCL Driver For OpenCL Acceleration Within VMs
([Virtualization] 4 Hours Ago
OpenCL + VirtIO-GPU)
- Reference: 0001498721
- News link: https://www.phoronix.com/news/Qualcomm-VCL-VirtIO-OpenCL
- Source link:
Qualcomm engineers have developed VCL as a new open-source OpenCL driver for use with VirtIO-GPU for providing OpenCL hardware acceleration within virtual machines.
VCL is a new Mesa driver for providing OpenCL support within guest VMs that is ultimately accelerated by the host system's driver and underlying GPU hardware. VCL is to OpenCL as Virgl is to OpenGL and Venis is to Vulkan for guest VM graphics acceleration. VCL makes use of the VirtIO-GPU infrastructure.
Rather than using one of the projects to layer OpenCL atop Vulkan or similar, VCL is an OpenCL driver written in Rust for Mesa that communicates with the host via VirtIO for compiling and executing with the host system's OpenCL driver.
Qualcomm engineers announced their work on the VCL driver within the [1]Qualcomm blog .
They have opened a [2]Mesa merge request for adding the VCL VirtIO-GPU OpenCL driver to Mesa. That code is currently undergoing review. For the Virglrenderer code is [3]this merge request for introducing Vcomp as the host-side code needed for supporting this OpenCL usage.
[1] https://www.qualcomm.com/developer/blog/2024/10/vcl-virtio-gpu-opencl-driver
[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31634
[3] https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1442
VCL is a new Mesa driver for providing OpenCL support within guest VMs that is ultimately accelerated by the host system's driver and underlying GPU hardware. VCL is to OpenCL as Virgl is to OpenGL and Venis is to Vulkan for guest VM graphics acceleration. VCL makes use of the VirtIO-GPU infrastructure.
Rather than using one of the projects to layer OpenCL atop Vulkan or similar, VCL is an OpenCL driver written in Rust for Mesa that communicates with the host via VirtIO for compiling and executing with the host system's OpenCL driver.
Qualcomm engineers announced their work on the VCL driver within the [1]Qualcomm blog .
They have opened a [2]Mesa merge request for adding the VCL VirtIO-GPU OpenCL driver to Mesa. That code is currently undergoing review. For the Virglrenderer code is [3]this merge request for introducing Vcomp as the host-side code needed for supporting this OpenCL usage.
[1] https://www.qualcomm.com/developer/blog/2024/10/vcl-virtio-gpu-opencl-driver
[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31634
[3] https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1442
Quackdoc