Compilation Method and Compiler for Heterogeneous System

A technology of heterogeneous systems and compilation methods, applied in the directions of resource allocation, multi-programming devices, program control devices, etc., can solve the problems of the difficulty of agile programming of application software, the inability of application programs to be transplanted quickly and effectively, and achieve portability. Problems, improve usability, reduce the effect of programming difficulty

Active Publication Date: 2015-08-12
JIANGNAN INST OF COMPUTING TECH
View PDF4 Cites 0 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, programming methods on heterogeneous systems all adopt accelerated programming modes with heterogeneous perspectives, which brings difficulty to software programming, and a large number of existing applications cannot be quickly and effectively transplanted to run on heterogeneous systems.

[0026] The technical solution of the present invention provides a method for compiling a heterogeneous system, including: identifying system service sentences in a source program, separating calculation sentences and the system service sentences, and identifying the system service sentences; The sentence format is analyzed to collect system service information data; the first sentence is generated in the slave core program, and the first sentence packages the system service information data to the main core I / O buffer, and sends it to the main core. A service request; a second statement is generated in the main core program, the second statement includes a service prog...

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 invention relates to a compilation method and a compiler, and particularly relates to a compilation method and a compiler of 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 accelerated processor. In a heterogeneous system, it is necessary to use The general-purpose microprocessor controls and manages the operation of the accelerator to form a master-slave architecture. The general-purpose microprocessor is the master core and the accelerator is the slave core. According to the integration mode of master core and slave core, it can be divided into chip level and device level. The chip-level heterogeneous system integrates different types of computing components for different instructions wi...

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): 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