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

Compilation method, device, and equipment based on heterogeneous system, and storage medium

A technology of heterogeneous systems and compilation methods, applied in the field of devices, compilation methods based on heterogeneous systems, equipment and storage media, can solve problems such as low development efficiency, shorten execution time, improve development efficiency, and increase effective utilization Effect

Pending Publication Date: 2021-10-26
北京算能科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In a heterogeneous system, since each computing core usually has its own instruction set and programming model, when developing a program based on a heterogeneous system, it is necessary to program and compile separately for each computing core’s programming model, so that lead to low development efficiency

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, device, and equipment based on heterogeneous system, and storage medium
  • Compilation method, device, and equipment based on heterogeneous system, and storage medium
  • Compilation method, device, and equipment based on heterogeneous system, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the embodiments of the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the disclosed embodiments as recited in the appended claims.

[0040] Terms used in the embodiments of the present disclosure are for the purpose of describing specific embodiments only, and are not intended to limit the embodiments of the present disclosure. As used in the examples of this disclosure and the appended claims, the singular forms "a" and "the" are also intended to include the plural unless the context clearl...

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 compilation method, device, and equipment based on a heterogeneous system, and a storage medium. The heterogeneous system comprises a plurality of computing cores with different architectures. The method comprises the steps: acquiring a computational graph corresponding to a source language code, writing the source language code based on a programming model, and enabling the programming model to be subjected to algorithm description through a scalar programming language and a tensor programming language; dividing the computational graph into at least one target graph region comprising a scalar graph region containing scalar computational nodes and / or a tensor graph region containing tensor computational nodes; generating a corresponding binary instruction code segment for each target map area; and generating a binary instruction sequence corresponding to the source language code based on the dependency relationship between the target map areas and the binary instruction code segment. According to the method and the device, when compiling development is carried out based on a heterogeneous system, the source language code can adopt a scalar programming language and a tensor programming language to describe an algorithm, so that the development efficiency is improved.

Description

technical field [0001] The present disclosure relates to but not limited to the field of compilation and development, and in particular relates to a compilation method, device, device and storage medium based on a heterogeneous system. Background technique [0002] With the rise of computing-intensive fields such as artificial intelligence, high-performance data analysis, and financial analysis, the traditional general-purpose computing method can no longer meet our demand for computing power, so a computing method with stronger computing power is proposed, that is, different structural calculations. [0003] Heterogeneous computing (heterogeneous computing) is a special parallel distributed computing system, which mainly refers to the computing method that uses computing units of different types of instruction sets and architectures to form a system. In a heterogeneous computing system, a common heterogeneous system (also called a heterogeneous device) may include a centra...

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): G06F8/41G06F9/50G06N5/04
CPCG06F8/427G06F9/5027G06N5/04
Inventor 蒋国跃张力杨柳西高鹏张广飞詹克团
Owner 北京算能科技有限公司
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