Compilation method and compiler for heterogeneous system

A technology of heterogeneous system and compiling method, applied in the direction of resource allocation, multi-program device, program control device, etc., can solve problems such as the difficulty of agile programming of application software and the inability of application programs to be quickly and effectively transplanted, and achieve portability problems, improving usability, and reducing programming difficulty

Active Publication Date: 2013-03-20
JIANGNAN INST OF COMPUTING TECH
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the prior art, the programming methods on the heterogeneous system all adopt the accelerated programming mode of the heterogeneous perspective, which is described as the master core code running on the general-purpose microprocessor and the slave core code running on the special accelerator. Agile programming of application software brings difficulties. Programmers often need to understand complex hardware details in order to effectively develop the computing potential of accelerators, which poses a great challenge to programmers
And a large number of existing applications cannot be quickly and effectively transplanted to run on heterogeneous systems

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
  • Compilation method and compiler for heterogeneous system
  • Compilation method and compiler for heterogeneous system
  • Compilation method and compiler for heterogeneous system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In the prior art, the programming methods on the heterogeneous system all adopt the accelerated programming mode from the heterogeneous perspective, which brings difficulty to software programming, and a large number of existing application programs cannot be quickly and effectively transplanted to run on the heterogeneous system.

[0026] The technical solution of the present invention provides a method for compiling a heterogeneous system, including: identifying the system service statement in the source program, separating the calculation statement from the system service statement, marking the system service statement; The statement is analyzed in format, and the system service information data is collected; the first statement is generated in the slave core program, and the first statement packs the system service information data to the main core I / O buffer, and sends it to the main core end Service request; generate a second statement in the main core program, the...

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 compilation method and a compiler for a heterogeneous system. The compilation method for the heterogeneous system includes that system service statements are recognized, calculation statements are separated from the system service statements, and then the system service statements are identified; format parsing is carried out to the system service statements, and then system service information data is collected; a first statement is generated in a sub core program, the system service information data is packed and sent to a main core end input (I) /output (O) buffer, and then a service request is sent to a main core end; a second statement is generated in a main core program and includes a sub core computational load service program and a system service program corresponding to the service request; and a third statement is generated in the main core program, polling processing is carried out to the system service program based on identification, and then the system service program is processed based on the data in the main core end I/O buffer. By means of the compilation method and the compiler for the heterogeneous system, user-level isomorphic perspective programming is achieved in the heterogeneous system.

Description

technical field [0001] The present invention relates to a compilation method and a compiler, in particular to a compilation method and a compiler for a heterogeneous system. Background technique [0002] A heterogeneous system is a computing system composed of processors with different functions and performances connected through a certain interconnection structure. A heterogeneous system is generally composed of a general-purpose microprocessor and a dedicated accelerator processor. In a heterogeneous system, it is necessary to use The general-purpose microprocessor controls and manages the operation of the accelerator, forming a master-slave architecture. The general-purpose microprocessor is the master core, and the accelerator is the slave core. According to the integration method of master core and slave core, it can be divided into chip level and device level. Chip-level heterogeneous systems integrate different types of computing components for different instructions...

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): G06F9/44G06F9/50
Inventor 何王全文延华刘勇方燕飞权建校王珊珊毛兴权
Owner JIANGNAN INST OF COMPUTING TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products