News: 0001498843

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

AMD Working On GPU Compute Virtualization Support With ROCm/HIP For VMs

([Radeon] 5 Hours Ago ROCm VMs)


Last week at XDC 2024 in Montreal was a status update on AMD's GPU compute virtualization support around their open-source Linux GPU driver and ROCm compute stack.

In the past I've covered AMD's work on enabling Xen virtualization support with 3D graphics and the like. More recently their focus has been on getting VirtIO GPU support working for GPU compute. In fact, they have prototyped AMD ROCm native context support within virtual machines and demonstrating OpenCL compute running within VMs.

Along similar lines, coincidentally Qualcomm just announced [1]their Mesa VCL driver for OpenCL acceleration within VMs .

AMD is working to not only support ROCm-based OpenCL wihtin VMs but also eventually the full ROCm/HIP compute stack. Their work is inspired by the VirtIO native context support used for 3D graphics and with API forwarding using their libhsakmt.

AMD is working to upstream their solution for this ROCm compute support for use in virtualization. This effort like their prior Xen improvements appear to revolve around catering to in-vehicle systems.

Those wishing to learn more can see the X.Org Developer's Conference 2024 video embedded above as well as the [2]PDF slide deck for all the details.



[1] https://www.phoronix.com/news/Qualcomm-VCL-VirtIO-OpenCL

[2] https://indico.freedesktop.org/event/6/contributions/285/attachments/222/302/gpu_compute_virt_with_virtio.pdf



phoronix

I never made a mistake in my life. I thought I did once, but I was wrong.
-- Lucy Van Pelt