Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Direct memory access method, device, dedicated computing chip and heterogeneous computing system

A computing chip and access method technology, applied in the computer field to reduce access, improve performance, and improve DMA transmission efficiency

Active Publication Date: 2020-07-31
ADVANCED NEW TECH CO LTD
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

To sum up, in the traditional technology, a heterogeneous computing process needs to perform six access operations

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
  • Direct memory access method, device, dedicated computing chip and heterogeneous computing system
  • Direct memory access method, device, dedicated computing chip and heterogeneous computing system
  • Direct memory access method, device, dedicated computing chip and heterogeneous computing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The solutions provided in this specification will be described below in conjunction with the accompanying drawings.

[0039] The direct memory access method provided by an embodiment of this specification can be applied to such as figure 1 In the heterogeneous computing system shown, the heterogeneous computing system may include: a general-purpose CPU 10, a system memory 20, a special-purpose computing chip 30, and a device memory 40, wherein the general-purpose CPU 10 and the special-purpose computing chip 30 may also be called a heterogeneous computing system Two computing units in .

[0040] The general-purpose CPU 10 is used to realize the control of the main flow of data processing of heterogeneous computing. Specifically include: a. Preprocessing and preparation of heterogeneous computing input data. b. Call dedicated computing chips for heterogeneous computing. c. Query heterogeneous calculation results (also called output data) to return. d. Perform post-pr...

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

A direct memory access method and device, a dedicated computing chip and a heterogeneous computing system, the method comprising: reading a DMA control block pointer from a DMA control block pointer queue (S210); determining a corresponding DMA control block in a system memory according to the DMA control block pointer (S220); determining the total length of DMA control information and input data in a DMA control block (S230); moving the DMA control information and the input data to a device memory according to the DMA control block pointer and the total length (S240); carrying out corresponding calculations on the input data to obtain output data (S250); writing the output data into the device memory (S260); acquiring the length of the output data (S270); and moving the output data from the device memory to the DMA control block according to the DMA control information and the length of the output data (S280).

Description

technical field [0001] One or more embodiments of this specification relate to the field of computer technology, and in particular to a direct memory access method, device, dedicated computing chip, and heterogeneous computing system. Background technique [0002] Heterogeneous computing refers to the control of the overall flow of data processing by a general-purpose central processing unit (Central Processing Unit, CPU). When special computing is required, the general-purpose CPU calls a dedicated computing chip for calculation. Specifically, the general-purpose CPU needs to call a direct memory access (Direct Memory Access, DMA) method (a method for moving memory data through a dedicated hardware module) to transfer the input data for special calculations from the system memory to the device memory. After the dedicated computing chip completes the calculation, the output data is transferred back to the system memory. It can be seen from this that in a heterogeneous calcu...

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 Patents(China)
IPC IPC(8): G06F13/28
CPCG06F13/28
Inventor 廖恬瑜潘国振
Owner ADVANCED NEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products