GPU virtualization method and device thereof
A virtualization and virtual machine technology, which is applied in multi-programming devices, program control devices, software emulation/interpretation/simulation, etc., can solve the problems of incomplete support and less implementation of different operating systems, and improve GPU utilization and efficiency. The effect of operating efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] figure 1 For the flowchart of the GPU virtualization method according to the present invention, the following will refer to figure 1 , the GPU virtualization method of the present invention is described in detail.
[0043] First, in step 101, a host and multiple VM systems are created and managed through a hypervisor.
[0044] In the embodiment of the present invention, Hypervisor can create different VM systems by booting and loading different images, including linux, qnx, android and other types of linux systems, and install different vGPU driver versions in different VM systems to suit with different operating systems. The graphics and computing requirements of each system are converted into unified GPU tasks through the vGPU driver.
[0045] In step 102, the graphics and computing requirements in the VM system are converted into unified task commands through the virtual GPU and sent to the physical GPU.
[0046] In step 103, the physical GPU notifies the corresp...
Embodiment 2
[0048] figure 2 It is a flowchart of a GPU virtualization method supporting hardware virtualization according to the present invention, which will be referred to below figure 2 , the GPU virtualization method of the present invention is described in detail.
[0049] In step 201, a host (host) and multiple vm (Virtual Machine, virtual machine) systems are created and managed based on a hypervisor (management program).
[0050] In step 202, for a GPU that does not support hardware virtualization, a GPU manager is set in the host to be responsible for distributing tasks and accepting and forwarding irq (Interrupt ReQuest, interrupt request).
[0051] Preferably, the way the GPU is used in each vm can be configured through the hypervisor.
[0052] Further, two different GPU usage methods are supported in each vm:
[0053] method one:
[0054] exclusive mode, such as Figure 4 The usage in VM' shown in . When the hypervisor creates VM', configure GPU' as the GPU exclusively...
Embodiment 3
[0059] image 3 It is a flowchart of a GPU virtualization method supporting hardware virtualization according to the present invention, which will be referred to below image 3 , the GPU virtualization method of the present invention is described in detail.
[0060] In an embodiment of the present invention, for a GPU supporting hardware virtualization, the physical GPU may provide each VM with independent registers and interrupt numbers.
[0061] In step 301, during the creation phase of the VM, the HOST helps to create the command buffer of the VM, and notifies the physical GPU to establish a connection between the vGPU in the VM and the physical GPU.
[0062] Preferably, the step of notifying the physical GPU may be specifically executed as:
[0063] HOST informs the physical GPU of the VM's ID, the address of the command buffer, the registers to be accessed, and the IRQ number to be monitored, so that the physical registers can bind these information.
[0064] In step 3...
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com