9-11 October 2024
Concordia University Conference Centre
Canada/Eastern timezone

GPU Compute Virtualization with VirtIO

10 Oct 2024, 16:50
5m
Concordia University Conference Centre

Concordia University Conference Centre

1450 Guy St., Montreal, Quebec, Canada H3H 0A1
Lightning Talk Lightning Talks

Speakers

Ray Huang (AMD) Honglei Huang

Description

Last year, we introduced how to enable graphic virtio native context and GPU passthrough based on Xen hypervisor[1]. However, graphic usage is not enough for modern requirement of GPU virtualization. Because AI and compute are more and more popular recently, and the community also wants to have a way to support compute virtualization on general GPU devices.
AMD provided an open source stack named ROCm[2] to support machine learning, coupled with being inspired by the idea of virtio native context. Then we dig out a solution to use Thunk (libhsakmt) API forwarding [3] via virtio-gpu to implement ROCm support on virtual machine and add virtio-gpu support into ROCm runtime as another GPU backend. With this way, we can have a prototype to implement GPU compute virtualization with virtio.
OpenCL is the first step that we step in ROCm virtualization with virtio-gpu. This talk will provide an overview of AMDs experiences enabling compute virtualization with OpenCL over ROCm native context approach.

Reference:
[1] https://indico.freedesktop.org/event/4/contributions/216/
[2] https://github.com/ROCm
[3] https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1370

Code of Conduct Yes
In-person or virtual presentation In-person

Primary authors

Presentation Materials

2024 Platinum Sponsor
Collabora
2024 Gold Sponsors
Arm
Google
Microsoft
NVIDIA
2024 Silver Sponsors
AMD
FEX-Emu
Igalia
Qualcomm
The Linux Foundation
2024 Bronze Sponsors
CodeWeavers
Khronos Group
Libre Computer