Systems and methods for high throughput in multiple computations - Patents.com

The DSDU and GPU architecture with AXI units enable efficient data transfer and processing by directly routing data to streaming multiprocessors as they become available, addressing inefficiencies in CPU-GPU data handling and doubling processing speed.

JP7547526B2Active Publication Date: 2024-09-09RAIL VISION LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023033382
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2017-08-31
Filing Date
2023-03-06
Publication Date
2024-09-09
Estimated Expiration
2038-08-30

AI Technical Summary

Technical Problem

Existing computing systems face inefficiencies in handling large amounts of geometry data due to significant resource usage in managing back-and-forth transfers between the CPU and GPU, resulting in low graphics computation efficiency, with only a small fraction of time allocated for actual data processing.

Method used

A method and circuit design that includes a data stream divider unit (DSDU) and a graphics processing unit (GPU) with multiple streaming multiprocessors (SMs), utilizing Advanced Extensible Interface (AXI) units to divide and transfer data directly to SMs as soon as they are loaded, bypassing the need for full data loading before processing.

Benefits of technology

Significantly reduces data transfer time and increases graphics computation efficiency by allowing the GPU to process data as soon as each streaming multiprocessor is loaded, achieving half the latency of traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007547526000002
    Figure 0007547526000002
  • Figure 0007547526000001
    Figure 0007547526000001
  • Figure 0007547526000003
    Figure 0007547526000003
Patent Text Reader

Abstract

To provide a device capable of enhancing throughput for processing a large amount of data, such as a video stream, a circuit, and a method.SOLUTION: In a streaming multiprocessor 200 in a GPU unit, a processor register file unit 220 forces the data processed by a processing core unit (PCU) 210 to be stored in a shared memory 240 as long as data can be further received according to a frequency level of the data. Frequently used data blocks are stored in a high-speed RAM of the processor. A stream of the received data is divided into a plurality of data portions and simultaneously transferred to the GPU streaming multiprocessor. The transferred data is simultaneously processed before the entire stream is loaded.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] A computing system suitable for manipulating / processing huge amounts of graphic data and calculations typically comprises, apart from a central processing unit (CPU), a GPU, a GPGPU, a DSP, a SIMD-based processing unit, a VLIW-based processing unit adapted and designated to manipulate and process the required data. The structure of such a computing system is well known in the art. This structure typically divides the computational tasks between the CPU and the MPU, so that the heavy computations are assigned to the MPU and the remaining computational tasks are left for the CPU to handle.

[0002] However, well-known structures become less efficient when large amounts of graphics data are involved due to the large amount of handling resources required to manage the transfer of graphics data back-and-forth between the CPU and the MPU. In some cases, the net time available for data computation in a CPU-MPU computation structure can be less than 5%. For example, in the case of the Nvidia® Computing Unified Device Architecture (CUDA) parallel computing platform and application programming interface model, the typical portion of time spent processing graphics data is 49% when transferring graphics data from the CPU environment to the GPU environment (e.g., CUDA memory), 47% when transferring graphics data back from the GPU environment to the CPU environment (CUDA memory), and less than 4% for graphics computation. Such very low graphics computation efficiency comes from the common structures that define how graphics data is transferred between processors.

[0003] There is a need to enable substantial increases in MPU efficiency, which will substantially increase the time allotted to graphics computations. Summary of the Invention

[0004] A method is disclosed for increasing graphics data throughput exchanged between a graphics data source via a streaming multiprocessor and a graphics processing unit (GPU). The GPU may include a processing core unit (PCU), a register file unit, a plurality of cache units, a shared memory unit, a unified cache unit, and an interface cache unit. The method may include transferring a stream of graphics data to the register file unit via the interface cache unit, via the plurality of cache units, and via the unified cache unit, transferring a second stream of graphics data from the register file unit to the processing core unit, and storing and receiving frequently used portions of the data in the shared memory via the register file unit.

[0005] In some embodiments, the register file unit is configured to direct data processed by the PCU to the shared memory as long as it is able to receive more data depending on the level of frequency of use of the data, which in some embodiments is determined by the PCU.

[0006] a processing core unit (PCU) configured to process graphics data; a register file unit configured to provide the graphics data from the PCU and to receive and temporarily store the processed graphics data from the PCU; a plurality of cache units configured to provide the graphics data from the register file unit and to receive and temporarily store the processed graphics data from the register file unit; a shared memory unit configured to provide the graphics data from the register file unit and to receive and temporarily store the processed graphics data from the register file unit; a unified cache unit configured to provide the graphics data from the register file unit and to receive and temporarily store the processed graphics data from the register file unit; and a processor configured to receive graphics data for graphics processing at a high speed, provide the graphics data to at least one of the shared memory unit and the unified cache unit, receive the processed graphics data from the unified cache unit, and provide the processed graphics data to an external processing unit.

[0007] In some embodiments, at least some of the graphical data elements are stored before and / or after processing by the PCU in a shared memory unit based on a priority associated with a probability of a close call by the PCU, in some embodiments the priority increases with increasing probability.

[0008] A circuit for processing raw data is disclosed that includes a data stream splitting unit (DSDU) and a graphics processing unit (GPU). The DSDU includes a plurality of first-in-first-out (FIFO) registers configured to receive a stream of data, split the data into portions, and pass each of the portions of the data through one of the plurality of FIFO registers, and an Advanced Extensible Interface (AXI) configured to receive the data portions. The GPU includes a second Advanced Extensible Interface (AXI) unit configured to receive the data portions from the first AXI unit, and a plurality of streaming multiprocessors (SMs) configured to receive each data portion from a respective FIFO register and process the received data portions.

[0009] In some embodiments, a particular FIFO register in the DSDU is connected to a SM allocated in the GPU through a first AXI unit allocated in the DSDU and through a second AXI unit allocated in the GPU. In some embodiments, each of the FIFO registers in the DSDU is connected to a SM allocated in the GPU through a first AXI unit in the DSDU and a common AXI unit in the GPU.

[0010] A method is disclosed for efficiently processing large amounts of data, comprising receiving a stream of raw data, dividing the stream into a number of data portions, passing each data portion through a specific FIFO register in a Data Stream Divider Unit (DSDU), and forwarding the data portions from the specific FIFO register to an assigned Streaming Multiprocessor (SM) in a Graphics Processing Unit (GPU) for processing. In some embodiments, the data portions are forwarded through a first specific Advanced Extensible Interface (AXI) in the DSDU and a second specific Advanced Extensible Interface (AXI) in the GPU.

[0011] In some embodiments, data portions received from a particular FIFO register are forwarded to a first AXI unit allocated in the DSDU and a second AXI unit allocated in the GPU. In some embodiments, each of the data portions received from the FIFO registers in the DSDU is forwarded to the SM allocated to the GPU via a common first AXI unit in the DSDU and a common second AXI unit in the GPU. The subject matter which is regarded as the invention is particularly pointed out and distinctly claimed in the concluding portion of the specification. However, the invention, together with its objects, features and advantages, both as to organization and method of operation, may best be understood by the following detailed description when read in conjunction with the accompanying drawings. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 illustrates generally the data flow of a computing unit using a GPU. [Diagram 2] FIG. 2 is a schematic block diagram of a typical streaming multiprocessor (SM) within a GPU unit. [Figure 3A]FIG. 3A is a schematic block diagram illustrating a raw data (UPD) processing unit (UPDHU) 300 constructed and operative in accordance with an embodiment of the invention. [Figure 3B] FIG. 3B is a schematic block diagram of one embodiment of a UPDHU, such as UPDHU 300 of FIG. 3A. [Figure 3C] FIG 3C is a schematic block diagram of another embodiment of a UPDHU, such as UPDHU 300 of FIG 3A. For convenience and clarity of illustration, elements shown in the figures have not necessarily been drawn to scale. For example, dimensions of some of the elements may be exaggerated relative to the elements for clarity. Further, where appropriate consideration, reference numerals may be repeated among the figures to indicate corresponding or similar elements. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be understood by those skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures and components have not been described in detail so as not to obscure the present invention. The bottleneck of CPU-GPU interaction in known computing systems is mostly in the data transfer channel used by the CPU to direct graphics related data to the GPU and to receive processed graphics data from the GPU. Typically, the CPU and GPU processors operate and communicate in a standard computing environment.

[0014] Referring to FIG. 1, the data flow of a computing unit 100 using a GPU is illustrated. The computing unit 100 includes a CPU 111, a CPU dynamic RAM (DRAM) 111A, and a computing unit peripheral control unit 112 such as a (mainboard chipset). The unit 100 further includes a GPU unit 150 that communicates data with the CPU via the unit 112. The GPU unit 150 typically includes a GPU DRAM unit 154 that interfaces data between the unit 112 and a GPU processor, a GPU cache unit 156 (e.g., an L2 cache unit) adapted to cache data for the GPU processing unit, and a GPU processing unit 158 ​​(e.g., a streaming multiprocessor / SM).

[0015] The flow of graphic data input to the processing unit 100 and intended to be processed by the GPU 150 is described by the data flow (DF) arrows. A first data flow DF1 renders the flow of data to the computing unit 100, which directs the flow of DF2 to the DRAM 111A via the peripheral control unit (PCU) 112 and from there back to the GPU 150 via DF3-PCU 112-DF4. In the GPU 150, the data passes through the DRAM unit 154, through the cache unit 156 and reaches a number of streaming multiprocessors (SMs) units 158, where the graphic processing takes place. Eliminating as many data flow bottlenecks as possible is a target of the method and structure according to the invention.

[0016] Referring to FIG. 2, there is shown a schematic block diagram of a typical streaming multiprocessor in a GPU unit. The SM 200 includes a processing core unit 210 (sometimes referred to as a Compute Unified Device Architecture (CUDA) core), a core 201, cache units 230 (constant cache), 250 (unified cache), and a shared memory 240. Data coming into and going out of the SM 200 is exchanged using the GPU cache unit 256 (e.g., cache unit 156 (L2)) of FIG. 1. When graphics processing is performed in a known manner, the GPU unit will wait until the entire amount of data to be processed is loaded into some memory unit of the SM 200 unit before graphics processing begins.

[0017] One way to reduce data transfer time is to reduce data transfer to a minimum. For example, intermediate results calculated by the cores 210 can be stored in the register file 220 instead of being stored in the DRAM. Furthermore, the shared memory 240 can be used to store frequently used data in the SM 200 instead of circulating it outbound as is usually done. In some embodiments, the level of frequency of use is determined by the PCU. Furthermore, constant memory units and / or cache memory units can be defined in the SM 210. According to further embodiments of the invention, the data flow bottleneck between the CPU computing environment and the GPU computing can be reduced or eliminated by replacing the CPU with a computing unit specifically configured to process all the graphics related data.

[0018] Referring to Figure 3A, which is a schematic block diagram illustrating a raw data (UPD) handling unit (UPDHU) 300 constructed and operative in accordance with an embodiment of the present invention, Figures 3B and 3C are schematic block diagrams of two different embodiments 350 and 380 of a UPDHU such as the UPDHU 300 of Figure 3A. The term "raw data" as used herein relates to large streams of data to be processed, typically requiring large computational capacity, for example a high speed stream of graphics data (e.g. received from a 4K video camera) that needs to be processed in virtually "real time" (i.e. with as little latency as possible). The architecture of the UPDHU 300 depicted in FIG. 3A is designed to overcome the inherent bottleneck of data streams typical of known CPU-GPU architectures, where an input stream of data acquisition is first processed by the CPU, then temporarily stored in CPU memory and / or RAM associated with the CPU, and then transferred back to the GPU (e.g., via a Peripheral Component Interconnect Express (PCIe) bus) and processed again by the GPU processor before being sent to multiple streaming processors that are part of the GPU.

[0019] With respect to FIG. 3A, the examples described herein illustrate the use of a field programmable gate array (FPGA) programmed to operate in accordance with an Advanced Extensible Interface (AXI), however, those skilled in the art will appreciate that the methods of operation described herein may be implemented using other computing units adapted to interface with a respective GPU and suitable for transferring large amounts of graphics-related data at high throughput.

[0020] According to an embodiment of the invention, the data stream divider unit (DSDU) 304 can be embodied using, for example, an FPGA programmed to receive a large amount of streaming UPD, e.g., a video stream from a camera, and distribute it into multiple smaller streams and forward them to the SMs of the GPU. The FPGA and the GPU can be further programmed to operate such that the GPU starts processing the transferred graphic data as soon as at least one of the multiple SMs of the GPU is fully loaded. In most cases, a fully loaded SM holds a smaller amount of data than a full data file, and therefore processing by the GPU starts according to this embodiment much faster than commonly known embodiments that start processing after the entire data file is loaded into the GPU.

[0021] In one example embodiment, the UPDHU 300 includes a DSDU 304 with multiple first-in-first-out (FIFO) register / storage unit arrays 304A (FIFO units not shown separately), one of which can be assigned to each of the SMs 318 of the GPU 320. In some embodiments, the UPD stream received by the DSDU 304 can be split into multiple data units and transferred to the GPU 320 via the FIFO units 304A, and broadcast to the GPU via an interface unit, such as an AXI interface, so that a data unit of each FIFO 304A is transferred to an associated SM 318, thereby enabling, for example, single-action multiple data (SEVID) computing. When each (even a single) SM 318 of the GPU 320 is loaded with its respective portion of unprocessed data received from its associated FIFO 304A via the AXI interface, the GPU 320 can begin processing, without having to wait until the entire UPD file is loaded.

[0022] The MSU 310 may include a raw data interface unit 302 configured to receive a long stream of graphics data. The large amount of raw data received through the interface unit 302 may be split into a number of data units of smaller size and transferred through assigned FIFO units in the FIFO unit 304A and then transferred over AXI channel 315 to assigned SMs 318 of the GPU 320 via the GPU AXI interface. The data units processed by each SM of the SMs 318 may then be transferred to the MSU via the AXI connection. As noted above, the above-described embodiment saves a typically large amount of overhead in a CPU-GPU architecture.

[0023] 3B and 3C depict schematic block diagrams of two optional architectures embodying the MSU 310 of FIG. 3A in accordance with an embodiment of the invention. FIG. 3B depicts the MSU 350 comprising an FIU 356 and a GPU 358. The FIU 356 comprises a number of FIFO units (collectively named 356A) - FIFO0, FIFOi...FIFOn. Each FIFO unit may be in active communication with an assigned FPGA AXI (F-AXI) unit - F-AXI0, F-AXIi...F-AXIn (collectively named 356B). Each of the separate F-AXI units may directly connect, indirectly, with an assigned GPU AXI (G-AXI) unit - G-AXI0, G-AXIi...G-AXIn. Each of the G-AXI interface units can actively connect to the assigned SMs, SM0, SMi, SMn, and supply data.

[0024] According to yet another embodiment, as shown in FIG. 3C, MSU 380 includes FIU 386 and GPU 388. FIU 386 can include multiple FIFO units (collectively named 386A)-FIFO0, FIFOi, . . . FIFOn. Each FIFO unit can actively communicate with an FPGA AXI (F-AXI) unit that can be configured to control the management of data streams from the multiple FIFO units into a single AXI stream. The AXI stream can be sent to the AXI interface of GPU 388 and then split to the respective SMs units-SM0, SMi, . . . SMn. The architecture depicted in FIG. 3B can provide faster overall performance, but may require more pins (for an integrated circuit (IC) embodying the described circuit) and more wires / conduits. The architecture depicted in FIG. 3C offers relatively slower overall performance, but requires fewer pins and fewer wires / conduits (for an integrated circuit (IC) embodying the described circuit).

[0025] The above-mentioned devices, structures and methods can accelerate the processing of large amounts of raw data compared to known architectures and methods. For example, in known embodiments, the entire image needs to be transferred before the processing / algorithm can start on the HPU. For an image size of 1GB, the theoretical throughput of the PCI-E bus transferring data to the GPU is 32GB / s, and the latency is 1GB / (32GB / s)=1 / 32s=31.125ms≈31.3ms. In contrast, with an FPGA according to an embodiment of the present invention, it is only necessary to fully load all SM units. For example, a Tesla P100 GPU has 56 SM units, and each SM has 64 cores supporting 32-bit (single precision mode) or 32 cores supporting 64-bit (extended precision mode), so the data size of a fully loaded GPU (same result in single precision mode or extended precision mode) is 56*322*64=114688 bits=14.336MM bytes. The theoretical throughput from the FPGA to the GPU AXI stream is 896MB / S (for 56 lanes), and the latency is 14.336MB(896MB / s)=14.336 / 896s=16ms, which is effectively half the latency.

[0026] While certain features of the invention have been illustrated and described herein, many modifications, substitutions, changes, and equivalents will occur to those skilled in the art. It is therefore to be understood that the appended claims are intended to cover all such modifications and changes which fall within the true spirit of the invention.

Claims

1. an array including a plurality of first-in, first-out (FIFO) registers configured to receive a stream of data, divide the stream of data into data portions, and pass each of the data portions through one of a plurality of FIFO registers; a first Advanced Extensible Interface (AXI) unit configured to receive the data portion; A data stream divider unit (DSDU) (304) comprising: a second Advanced Extensible Interface (AXI) unit configured to receive data portions from the first AXI unit; and a plurality of streaming multiprocessors (SMs) configured to receive respective data portions from respective FIFO registers and configured to process said received data portions; A graphic processing unit (GPU) having A circuit for processing raw data that has not yet been processed by a GPU, comprising:

2. 2. The circuit of claim 1, wherein a FIFO register in the DSDU is connected to an SM in the GPU assigned to the FIFO register via a first AXI unit in the DSDU assigned to the FIFO register and a second AXI unit in the GPU assigned to the FIFO register.

3. 2. The circuit of claim 1, wherein each of the FIFO registers in the DSDU is connected to an SM in the GPU assigned to the FIFO register via a first common AXI unit in the DSDU and a common AXI unit in the GPU.

4. A method of receiving a stream of raw data that has not yet been processed by a graphics processing unit (GPU); dividing the stream into a number of data portions; passing each data portion through a specific FIFO register of a data stream divider unit (DSDU); forwarding the data portion from the particular FIFO register to a streaming multiprocessor (SM) in a graphics processor unit (GPU) assigned to the particular FIFO register for processing; Equipped with the data portion is transferred via a first Advanced Extensible Interface (AXI) unit in the DSDU and a second Advanced Extensible Interface (AXI) unit in the GPU; How to process large amounts of data efficiently.

5. 5. The method of claim 4, wherein a data portion received from a particular FIFO register is transferred to a SM in the GPU assigned to the particular FIFO register via a first AXI unit in the DSDU assigned to the FIFO register and a second AXI unit in the GPU assigned to the FIFO register.

6. 5. The method of claim 4, wherein each of the data portions received from a FIFO register is forwarded to a SM in the GPU assigned to the particular FIFO register via a common first AXI unit in the DSDU and a common second AXI unit in the GPU.

Citation Information

Patent Citations

  • Fifo storage device incorporation plural fifo memory

    JP1994324997A

  • Execution architecture for a multi-channel MPEG video transcoder using multiple programmable processors

    JP2003502958A

  • On-chip bus system

    JP2006091982A

  • Multi-core geometry processing in tile based rendering system

    JP2012146323A

  • Interconnection apparatus

    JP2012150735A