Unlock instant, AI-driven research and patent intelligence for your innovation.

Multi-GPU communication method and device, storage medium and electronic device

A sub-task and image processing technology, applied in the field of multi-GPU communication, can solve the problem of low overall GPU performance and achieve the effect of improving the overall performance of GPU

Pending Publication Date: 2021-02-05
CHANGSHA JINGJIA MICROELECTRONICS +1
View PDF13 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a multi-GPU communication method and device, a storage medium, and an electronic device, so as to at least solve the problem in the related art that the overall performance of the GPU is not high when processing complex image processing tasks

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multi-GPU communication method and device, storage medium and electronic device
  • Multi-GPU communication method and device, storage medium and electronic device
  • Multi-GPU communication method and device, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] The method embodiment provided in Embodiment 1 of the present application may be executed in a multi-GPU system or a system with a similar architecture. Take running on a multi-GPU system as an example, figure 1 It is a schematic structural diagram of the GPU system implemented by the multi-GPU communication method of the embodiment of the present invention. like figure 1 Shown is a GPU system architecture with one master GPU and four slave GPUs. There is one-to-one communication between the master GPU and the slave GPU through a high-speed interconnection bus. The main GPU receives the drawing task sent by the PCIE bus of the upper layer, and transmits it to the other three slave GPUs through the high-speed interconnection bus. The data needed in the drawing process is shared through shared RAM and shared Cache.

[0026] In this embodiment, a multi-GPU communication method is provided, which is used to communicate between a master GPU and multiple slave GPUs, and a...

Embodiment 2

[0059] In this embodiment, a multi-GPU communication method is provided, which is used to communicate between a master GPU and multiple slave GPUs, and a one-to-one communication between the master GPU and each of the slave GPUs is performed through a high-speed interconnection bus. communication, such as Figure 4 As shown, the process includes the following steps:

[0060] Step S401, receiving multiple image processing subtasks obtained by dividing the image processing task by the main GPU;

[0061] Step S402, processing the plurality of image processing subtasks according to a preset method;

[0062] Step S403, sending the processing result of the image processing task to the main GPU.

[0063] The above-mentioned multi-GPU communication method, by receiving the drawing tasks sent by the upper system on the main GPU, completes the automatic drawing task cutting, distributes part of the drawing tasks to multiple slave GPUs, and manages the load of multiple slave GPUs at th...

Embodiment 3

[0078] In this embodiment, a device for multi-GPU communication is also provided, and the device is used to implement the above embodiments and preferred implementation manners, and what has been described will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

[0079] image 3 It is a structural block diagram of a device for multi-GPU communication according to an embodiment of the present invention, which is used to communicate between a master GPU and multiple slave GPUs, and the master GPU and each of the slave GPUs are connected through a high-speed interconnection bus One-to-one communication, such as image 3 As shown, the device includes:

[0080] The first receiving module 3...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a multi-GPU communication method and device, a storage medium and an electronic device, the method is used for communication between a main GPU and a pluralityof slave GPUs, the main GPU and each slave GPU are in one-to-one communication through a high-speed interconnection bus, and the method comprises the following steps: receiving an image processing task; segmenting the image processing task to obtain a plurality of image processing subtasks; distributing the plurality of image processing subtasks according to the number of the slave GPUs; receiving a processing result of the slave GPU for the image processing task; and combining the processing results and splicing to obtain a target image. By the adoption of the scheme, complex drawing and calculation tasks are cooperatively completed by the GPU.

Description

technical field [0001] The present application relates to computer image processing technology, in particular, to a multi-GPU communication method and device, a storage medium, and an electronic device. Background technique [0002] In the field of image processing, usually multiple GPUs cooperate with each other to complete a part of image processing tasks. [0003] As image processing tasks become more and more complex, the overall performance of the GPU tends to decline. [0004] In the related art, there is no effective solution to the problem that the overall performance of the GPU is not high when processing complex image processing tasks. Contents of the invention [0005] Embodiments of the present application provide a multi-GPU communication method and device, a storage medium, and an electronic device, so as to at least solve the problem in the related art that the overall performance of the GPU is not high when processing complex image processing tasks. [00...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F15/163G06T1/20
CPCG06F15/163G06T1/20Y02D10/00
Inventor 龙斌
Owner CHANGSHA JINGJIA MICROELECTRONICS