GIM kernel module source code for GPU virtualization published in the public domain

watch 56s
views 2

13:27, 25.04.2025

AMD has published the GIM project code on GitHub. It is a module that implements GPU hardware virtualization and supports SR-IOV technology.

Single Root I/O Virtualization technology is needed to distribute physical device resources between virtual machines. Using GIM, VMs (virtual machines) can directly access GPU resources. This technology significantly impacts performance due to the absence of unnecessary layers while guaranteeing a high level of isolation.

The GIM project is published for everyone and is available under the MIT license. The code is written in C, and packages are available for Ubuntu 22.04.

At this stage, the driver can only function with AMD products that support resource sharing on MxGPUs. Moreover, support is announced for AMD Instinct MI300X accelerators, which are required for machine learning tasks in data centers and are needed for high-performance computing. There are also plans to use the module with a GPU in discrete graphics cards.

GIM module capabilities

GIM, along with KVM hypervisor-based virtualization, provides the following capabilities: GPU resource allocation between VMs, GPU-IOV initialization, Function Level Reset, enabling and configuring virtual functions, and matching the interaction between the physical device and virtual functions.

Share

Was this article helpful to you?

VPS popular offers

-9.9%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
100 GB HDD
Bandwidth
Bandwidth
300 Gb
KVM-HDD HK 4096 Linux

12.07 /mo

/mo

Billed annually

-21.4%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
500 GB
wKVM-SSD 8192 HK Windows

67 /mo

/mo

Billed annually

-10%

CPU
CPU
3 Epyc Cores
RAM
RAM
2 GB
Space
Space
20 GB NVMe
Bandwidth
Bandwidth
Unlimited
KVM-NVMe 2048 Linux

14.9 /mo

/mo

Billed annually

-7.4%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
Unlimited
wKVM-SSD 4096 Windows

23.1 /mo

/mo

Billed annually

-7.9%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
200 GB HDD
Bandwidth
Bandwidth
300 Gb
wKVM-HDD HK 8192 Windows

25.95 /mo

/mo

Billed annually

CPU
CPU
6 Epyc Cores
RAM
RAM
16 GB
Space
Space
150 GB NVMe
Bandwidth
Bandwidth
Unlimited
Keitaro KVM 16384
OS
CentOS
Software
Software
Keitaro
/mo

Billed monthly

-10%

CPU
CPU
2 Xeon Cores
RAM
RAM
512 MB
Space
Space
10 GB SSD
Bandwidth
Bandwidth
Unlimited
KVM-SSD 512 Linux

5.2 /mo

/mo

Billed annually

-15.6%

CPU
CPU
3 Xeon Cores
RAM
RAM
1 GB
Space
Space
20 GB SSD
Bandwidth
Bandwidth
30 Mbps
DDoS Protected SSD-KVM 1024 Linux

38 /mo

/mo

Billed annually

-15%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
80 Mbps
DDoS Protected SSD-wKVM 8192 Windows

101 /mo

/mo

Billed annually

-10%

CPU
CPU
10 Xeon Cores
RAM
RAM
64 GB
Space
Space
300 GB SSD
Bandwidth
Bandwidth
Unlimited
KVM-SSD 65536 Linux

181.5 /mo

/mo

Billed annually

Other articles on this topic

cookie

Accept cookies & privacy policy?

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the HostZealot website.