Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

5 results about "Optimizing compiler" patented technology

In computing, an optimizing compiler is a compiler that tries to minimize or maximize some attributes of an executable computer program. Common requirements are to minimize a program's execution time, memory requirement, and power consumption (the last two being popular for portable computers).

Compiler optimization of intermediate representations by variable assignment and scope analysis

There is described a computing device (900) for static analysis (301) of source code (402), the computing device being configured to: obtain an abstract code representation (204a) of the source code; generating a connection graph (701) from the abstract code representation, where the connection graph (701) represents connections between constructs in the source code (402); determining an escape scope (602, 603) of one or more nodes (601) in the connection graph (701), where the nodes (601) in the connection graph (701) correspond to the construct in the source code (402); an escape situation for the one or more nodes (601) is propagated through the connection graph (701) to generate an optimized connection graph (205a, 705), where the escape situation is based on the escape scope of the one or more nodes (601). Thereby, an optimized connection graph based on the escape scope of the node may be used to optimize the compiler (404).
Owner:HUAWEI TECH CO LTD

Extensible compilation using composite programming for hardware performance enhancements

Systems, methods, and machine-readable media are disclosed for enabling high-performance programming via a composite programming language that gives programmers complete control over the compilation process. The composite programs include two language levels: an object program level (source code), and a metaprogram level that describes how a compiler should be customized in order to optimize the source code for a target hardware environment. When an augmented compiler receives a composite program, it recognizes the metaprogram and implements the one or more parameters specified within the composite program to optimize the compiler for a given target. Once the augmented compiler has been, it proceeds with compiling the source code included in the composite program. The compiled code is then output as machine language and may be executed by one or more computing systems.
Owner:CURAECHOICE INC

Method, apparatus and device for optimizing compiler based on tensor data calculation inference

Disclosed are a method, an apparatus and a device for optimizing a compiler based on tensor data calculation inference. The method includes: obtaining design structure information of a compiler to be optimized, and obtaining a target intermediate conversion layer and an execution operation of the target intermediate conversion layer according to the design structure information; setting a target parameter tuning learning parameter according to the target intermediate conversion layer; determining a compiler object to be optimized according to the execution operation of the target intermediate conversion layer; and performing parameter tuning optimization on the compiler object to be optimized according to the target parameter tuning learning parameter through a target automatic parameter tuning strategy.
Owner:OPENBAYES (TIANJIN) IT CO LTD

Method and system for optimizing access to constant memory

ActiveCN116097216BComputational scienceMemory type
The disclosed systems, structures, and methods are directed to optimizing memory access to constants in heterogeneous parallel computers, including OpenCL-enabled systems. This is implemented in an optimizing compiler that converts program-scoped constants and constants scoped to the outermost level of a kernel to implicit constant pointer parameters. The optimizing compiler also attempts to determine access patterns for constants at compile time and places the constants in various memory types available in the compute device architecture based on these access patterns.
Owner:HUAWEI TECH CO LTD

Parameterization instruction selection method and related apparatus

A parameterization instruction selection method, applied to optimizing a compilation process executed by a compiler. In the parameterization instruction selection method, during compiling, corresponding machine instruction sets are pre-generated for instructions in a code to be compiled, and one or more corresponding machine instructions that can be selected by each instruction in the code during compiling are indicated on the basis of the machine instruction sets, so that a compiler does not select a default machine instruction for the instruction in the code any more, and the compiler is guided to select different machine instruction combinations during compiling, so as to obtain a plurality of different target files; finally, a target file having optimal execution performance is selected by executing the plurality of target files. Thus, the flexibility of an instruction selection process is improved, and the target file having higher execution performance is obtained by means of compiling.
Owner:HUAWEI TECH CO LTD