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

Hardware acceleration method, compiler, and device

A hardware acceleration and compiler technology, applied in the computer field, can solve problems such as low code execution efficiency

Active Publication Date: 2017-01-11
HUAWEI TECH CO LTD
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the code execution efficiency of the above scheme is still low

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
  • Hardware acceleration method, compiler, and device
  • Hardware acceleration method, compiler, and device
  • Hardware acceleration method, compiler, and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0090] 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 the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0091] Embodiments of the present invention provide a hardware acceleration method, a compiler, and a device, which are used to improve code execution efficiency so as to realize hardware acceleration.

[0092] In order to facilitate understanding of the embodiments of the present invention, the system architecture in the embodiments of the present invention is introduced below.

[0093] see figure 1 , the system architecture includes a c...

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

Embodiments of the present invention disclose a hardware acceleration method, a compiler, and a device, for improving code execution efficiency, so as to implement hardware acceleration. The method provided by the embodiment of the present invention comprises the following steps: a compiler obtains compiler strategy information and a source code, wherein the compiler strategy information indicates that a first code type matches a first processor, and that a second code type matches a second processor; the compiler analyzes a code segment in the source code according to the compiler strategy information, and determines a first code segment belonging to the first code type or a second code segment belonging to the second code type; the compiler compiles the first code segment to a first executable code, and sends the first executable code to the first processor; and compiles the second code segment to a second executable code, and sends the second executable code to the second processor.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a hardware acceleration method, compiler and equipment. Background technique [0002] Source code is also sometimes called a source program. Source code refers to an uncompiled sequence of program instructions written in accordance with a certain programming language specification. Thus, source code is a sequence of human-readable computer language instructions. In modern programming languages, the ultimate goal of computer source code is to translate human-readable program instruction sequences into computer-executable binary instructions. This process is called compilation and is completed by a compiler. [0003] Based on the above description, the current code compilation and execution process is as follows: After the compiler obtains the source code, it compiles the source code into object code, and then sends the object code to the hardware that executes the code, such a...

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/45G06F9/44
CPCG06F8/4441G06F9/4552G06F8/452G06F8/453G06F9/3836G06F15/163
Inventor 陈建周洪胡新宇管红光张小俊
Owner HUAWEI TECH CO LTD
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