A method and system for compiling heterogeneous hybrid programs separately

A hybrid and heterogeneous technology, applied in the computer field, can solve problems such as complex systems and complex programs, and achieve the effect of simplifying the control process and reducing costs

Active Publication Date: 2017-02-08
BEIJING SMART LOGIC TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

OpenCL can support the situation where the heterogeneous processor is the same type of compiler, such as a heterogeneous system composed of a CPU and another type of CPU, which can support the C language compiler, but because it needs to support a variety of heterogeneous systems with different compilation types , its system is complex, so the mixed program is also very complicated

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
  • A method and system for compiling heterogeneous hybrid programs separately
  • A method and system for compiling heterogeneous hybrid programs separately
  • A method and system for compiling heterogeneous hybrid programs separately

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0017] The invention proposes a compiling method of a heterogeneous mixed compilation program. This method is suitable for heterogeneous processing systems. The so-called heterogeneous processing system is composed of multiple heterogeneous processors, and supports different compilers for the same language. Among them, there is a master processor, and the others are all controlled processors. .

[0018] figure 1 A schematic structural diagram of a heterogeneous processing system is shown. Such as figure 1 As shown, the heterogeneous processing system includes a main control processor and a controlled processor, which are connected through a bus. From the perspective of the controlled processor, the main control process...

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 discloses a system and a method for separate compilation of heterogeneous mixed programs. The method includes: configuring tabs to functions, executed by a controlled processor, in a source program; searching the configured tabs in the source program to generate a modification chain table, wherein the functions configured with the tabs, function types and function positions are stored in the modification chain table; subjecting the modification chain table to traversal, and correspondingly compiling the functions configured with the tabs in the source program according to the function types stored in the modification chain table. A complicated control process executed by the controlled processor is simplified by marking simply, costs on heterogeneous transplant can be reduced effectively, and mixed programming seems like programming of isomorphic processors.

Description

technical field [0001] The invention belongs to the field of computer technology, and relates to a method and system for compiling heterogeneous mixed compilation separately. It is used in the situation where heterogeneous processors all support the same language compiler, such as the same language compiler, which automatically supports application programmers. Separate and compile the program. Background technique [0002] With the wide application of hardware heterogeneity, such as the heterogeneous mode of CPU and GPU, it has been widely used in various industries and achieved good acceleration results. With the wide application of heterogeneous systems, heterogeneous computing has also been greatly developed. In heterogeneous computing, there are already some mature unified frameworks, such as NviDIA’s CUDA (Compute Unified Device Architecture) technical framework, which supports direct programming of CPU and NviDIA’s GPU; there is also the OpenCL (Open Computing Langua...

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/44
Inventor 倪素萍杜学亮林啸谭吉来卜中华郭若杉
Owner BEIJING SMART LOGIC TECH CO LTD
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