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

-16.3%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
30 GB SSD
Bandwidth
Bandwidth
40 Mbps
DDoS Protected SSD-KVM 2048 Linux

48 /mo

/mo

Billed annually

-20.5%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
8 TB
KVM-SSD 8192 Metered Linux

57 /mo

/mo

Billed annually

-10%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
150 GB SSD
Bandwidth
Bandwidth
Unlimited
10Ge-KVM-SSD 16384 Linux

231 /mo

/mo

Billed annually

-10%

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

20.77 /mo

/mo

Billed annually

-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.18 /mo

/mo

Billed annually

-20.6%

CPU
CPU
6 Xeon Cores
RAM
RAM
8GB
Space
Space
100GB SSD
Bandwidth
Bandwidth
500GB
KVM-SSD 8192 HK Linux

59 /mo

/mo

Billed annually

-10.2%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
150 GB SSD
Bandwidth
Bandwidth
100 Mbps
DDoS Protected SSD-KVM 16384 Linux

123 /mo

/mo

Billed semiannually

-16.2%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
50 GB SSD
Bandwidth
Bandwidth
60 Mbps
DDoS Protected SSD-KVM 4096 Linux

67 /mo

/mo

Billed annually

-10%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
60 GB HDD
Bandwidth
Bandwidth
300 Gb
KVM-HDD HK 2048 Linux

6.32 /mo

/mo

Billed annually

-5.6%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
60 GB HDD
Bandwidth
Bandwidth
Unlimited
wKVM-HDD 2048 Windows

13.7 /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.