Unlock instant, AI-driven research and patent intelligence for your innovation.

vectorization device

A vector and independent variable technology, applied in the field of vectorized version of the source program, can solve cumbersome problems

Active Publication Date: 2020-03-10
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Parallel execution of programs allows for maximum performance, but it is often tedious for humans to write such parallel executable programs

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
  • vectorization device
  • vectorization device
  • vectorization device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Such as Figure 4 As explained in , the vectorization apparatus 1 according to aspects of the present invention is used to provide a vectorized version of the source program P. The vectorization device 1 includes a graphical interpreter 2 and a hierarchical evaluator 3 . The graph interpreter 2 is used to traverse the nodes of the graph-based intermediate representation IR of the source program P to retrieve the current operation of each node and to maintain and update the current context which, together with the current operation, represents the graph interpretation during the graph traversal The status of Device 2.

[0045] The hierarchical evaluator 3 of the vectorization device 1 is used to vectorize the current operation in the current context, so as to provide the graphical interpreter 2 with the vectorized fragment VF returned by the hierarchical evaluator 3, such as Figure 4 described in. The graphics interpreter 2 updates the current background CTX as the a...

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

A method and apparatus for providing a vectorized version / P / of a source program, P, wherein the apparatus (1) comprising a graph interpreter (2) is adapted to traverse nodes of a graph-based intermediate representation, IR, of a source program, P, to retrieve for each node a current operation and to maintain and update a current context, ctx, representing along with the current operation the state of the graph interpreter (2) during the graph traversal; and a staged evaluator (3) adapted to vectorize the current operation in the current context, ctx, to provide a vectorized fragment, VF, returned by the staged evaluator (3) to said graph interpreter (2) which updates the current context, ctx, with an association between a symbol of the current operation and a symbol of the vectorized fragment, VF, to generate a graph-based intermediate representation, IR', of the vectorized version / P / of the source program, P.

Description

technical field [0001] The present invention relates to a method and apparatus for constructing a vectorized version of a source program with a graphics-based intermediate representation. Background technique [0002] The method and apparatus according to the invention relate to the field of computer software engineering, and in particular to the compilation of source code by using intermediate code representations. Compiling a computer program involves converting high-level language code, ie source code, into instructions for the computer system's processor. A compiler is a computer program that takes the source code of a source program and produces executable machine code. The resulting sequence of machine code instructions is executed by a processor to perform a given task. [0003] Compilers perform program transformations to optimize source programs for fast execution. One of these applied optimizations performed by the compiler is vectorization. [0004] figure 1 ...

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): G06F8/41G06F8/51
CPCG06F8/445G06F8/51
Inventor 亚历山大·弗拉基米罗维奇·斯莱萨连科张洪波安东·尤利耶维奇·奥尔洛夫
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More