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

Data layout method and device thereof

A data layout and data block technology, applied in the direction of electrical digital data processing, instruments, memory systems, etc., can solve the problems of a large number of memory accesses, program performance degradation, etc., and achieve the effect of improving program execution speed and reducing main memory access overhead

Active Publication Date: 2016-01-13
JIANGNAN INST OF COMPUTING TECH
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, in problems such as stencil computation, the value of each point in the multi-dimensional grid needs to be updated repeatedly, and when updating an element, adjacent elements are required for auxiliary processing, and the slave core needs to be processed during processing. Boundary communication is used to obtain adjacent elements at the boundary. If the shared storage model is adopted, mapping template processing to heterogeneous cores will generate a large number of memory accesses, resulting in a decrease in program performance.

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
  • Data layout method and device thereof
  • Data layout method and device thereof
  • Data layout method and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In the existing technology, such as figure 1 As shown, each slave processor core of the heterogeneous many-core has its own on-chip local storage space, and all slave processor cores obtain boundary data from the main memory through an on-chip communication network (on-chip network). After research, the inventors found that under the shared storage model, too large boundary data will lead to heavy main memory access overhead, thereby greatly affecting the program execution speed of the entire processor. If the distributed storage model is adopted, by determining the The boundary data and privatization of the boundary data to each processor core can reduce the main memory access overhead caused by boundary communication, thereby increasing the program execution speed of the entire processor.

[0029] In view of the above problems, an embodiment of the present invention provides a data layout method. figure 2 It is a flowchart of a data layout method in an embodiment of...

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 invention provides a method and a device for structuring the data. The method comprises that a first data block which is processed through a first code is partitioned into a plurality of second data blocks, wherein each second data block corresponds to a processor core; the first code determines the corresponding boundary data of each second data block; local memory spaces are applied for each second data block and the corresponding boundary data in the corresponding processor core; and a second code which corresponds to each second data block is generated according to the first code, and the second codes can process the second data blocks in the corresponding processor cores of the second data blocks according to the processing logic of the first code. By the method, the access and memory expenditures can be reduced, and accordingly, the program execution speed of a processor is increased.

Description

technical field [0001] The invention relates to heterogeneous many-core processor technology, in particular to a data layout method and device. Background technique [0002] A heterogeneous many-core processor includes a main processor core (master core) and multiple slave processor cores (slave cores), and improves efficiency and performance by integrating different types of cores. Generally speaking, the master core is responsible for resource management and scheduling, and the slave core is responsible for accelerating applications. Each slave core usually has an on-chip local storage with limited capacity to store and process required data. [0003] In a heterogeneous many-core processor, after certain regular application programs are mapped to multiple slave cores, during the execution of the program, boundary communication among multiple slave cores is required to obtain boundary data. At present, most heterogeneous many-core compilers map programs to heterogeneous ma...

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): G06F12/0806G06F12/06
Inventor 王淼孙俊尤洪涛姜小成张立博金星毛智辉
Owner JIANGNAN INST OF COMPUTING TECH