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

Gradual Intelligent Backtracking Vectorized Code Tuning Method

A progressive and vector technology, applied in the field of progressive intelligent backtracking vectorized code tuning, can solve problems such as unfavorable high-performance computer computing power and programmer work pressure, and achieve intuitive tuning work, reduce stress, and be easy to read Effect

Inactive Publication Date: 2016-03-23
THE PLA INFORMATION ENG UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

On the one hand, because the discovery of SIMD parallelism often requires a series of code transformations and optimizations, the manual vector recognition process has high requirements for programmers. For the implementation of various program transformations and optimization measures, programmers need to be familiar with the compilation technology. On the other hand, the rapid development of computer technology for more than half a century has accumulated a lot of valuable experience and wealth for R&D personnel. In the existing scalar computer application process, a large number of excellent software that have played an important role are urgently needed Efficiently transferred to high-performance computer systems, in order to make full use of the SIMD short-vector functional parts provided in a given CPU, programmers need to do a lot of manual transformation or re-write parallel programs, which is a It is time-consuming and labor-intensive, which causes great work pressure for programmers, and is not conducive to fully utilizing the computing power of high-performance computers

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
  • Gradual Intelligent Backtracking Vectorized Code Tuning Method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] refer to figure 1 , the progressive intelligent backtracking vectorized code tuning method specifically includes three steps: static tuning, dynamic tuning and intelligent gradual backtracking. The detailed description is as follows.

[0029] (1) Static tuning: Statically compile the source code, add pragma statements to the source program according to the static compilation information of the compiler, and generate a vectorized program by the automatic vectorization tool. In this way, the diagnostic information during the vectorization process is fed back, and the vectorization pragma statement is directly added to the source code accordingly, and the application characteristic information is passed to the automatic vectorization tool in an intuitive way, thereby further improving the automatic vectorization performance. Recognition rate.

[0030] In the above step (1), the specific steps of generating the vectorized program based on the pragma statement can be:

[...

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 relates to a progressive intelligent backtracking vectorization code tuning method. The method mainly comprises the following steps: (1) static tuning, namely adding a compiler directing statement into a source program to generate a vectorization program; (2) dynamic tuning, namely carrying out dynamic instrumentation to obtain program section information and dynamic instrumentation information, and generating optimized vectorization program according to a feedback information file; and (3) configuration of vectorization basic options and optimized options, namely adding the optimized options one by one in a vectorization process, comparing the tuning result with the tuning result before the adding, if the current tuning result is better than the previous one, reserving the current one, otherwise, backtracking. By adopting the steps, the vectorization statement in the generating code can be optimized and the execution efficiency of the generating code is improved so as to relieve the pressure of a programmer in designing and writing parallel programs, and the computation capacity of the current high-performance supercomputer system can be exerted sufficiently.

Description

technical field [0001] The invention relates to a progressive intelligent backtracking vectorized code tuning method. Background technique [0002] In the construction of current high-performance computers, the integrated SIMD (Single Instruction Multiple Data, Single Instruction Multiple Data) short-vector functional parts in the CPU chip used can effectively improve the overall computing power of the computer system, which can significantly expand the instruction system through moderate expansion. It is of great significance to increase the width of data execution and improve the performance of multimedia processing. [0003] But correspondingly, in practice, manually writing or rewriting high-quality vectorized code is a great challenge for programmers. On the one hand, because the discovery of SIMD parallelism often requires a series of code transformations and optimizations, the manual vector recognition process has high requirements for programmers. For the implementa...

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 THE PLA INFORMATION ENG UNIV
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