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

Serial program parallelization method based on marks

A serial program and tagging technology, applied in the field of parallel program generation, can solve problems such as high-cost parallel platform diversity, and achieve the effects of high parallel compilation efficiency, lightening burden, and reducing error probability.

Active Publication Date: 2020-10-30
UNIV OF SCI & TECH OF CHINA
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the above technical problems, the present invention provides a serial program parallelization method for the two basic problems faced by serial program parallelization and the shortcomings of existing parallelization methods, by marking the serial program and A method for parsing and generating parallel programs by marking, solving the high cost problem of parallelization of serial programs and the diversity of parallel platforms

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
  • Serial program parallelization method based on marks
  • Serial program parallelization method based on marks
  • Serial program parallelization method based on marks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. 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.

[0025] figure 1 It is an overall flowchart of a marker-based serial program parallelization method of the present invention, and the method includes the following steps:

[0026] Step (1) Mark the serial program.

[0027] Step (2) The code parsing system parses the tags and records the parameters of the tag clauses.

[0028] Step (3) The code parsing system extracts the parallel code segment from the basic parallel code base, and fills it with th...

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 serial program parallelization method based on marks. The serial program parallelization method comprises the following steps that (1) serial programs are marked; (2) analyzing the mark by a code analysis system, and recording mark clause parameters; (3) enabling the code parsing system to extract parallel code segments from a basic parallel code library and filling theparallel code segments with marked clause parameters; (4) splicing the filled parallel code segments to obtain a parallel program corresponding to the final serial program. According to the method, the parallel programming development cost is reduced, and the burden of developers is reduced; the parallelization capability of a plurality of platforms is provided, and the parallel APIs of a plurality of parallel platforms can be obtained by one serial API; a special compiler does not need to be developed independently, a mature compiler can be directly adopted, and the parallel compiling efficiency is high. According to the method based on marking, an original program is not rewritten, a serial program does not need to be deeply understood, the reliability of parallel programs is improved through the standardized marking analysis process, and the error probability is reduced.

Description

technical field [0001] The invention relates to a parallel program generation method, in particular to a serial program parallelization method. Background technique [0002] With the development and popularization of parallel computing technology, there are a large number of serial applications in the industry that urgently need to be transformed into parallel programs to improve data processing capabilities. The parallelization of serial programs faces two basic problems: (1) The high cost of parallel programming. Parallel programming requires professional parallel programming capabilities and rich engineering experience, and the development of parallel programs requires a lot of engineering costs and time. (2) Diversity of parallel platforms. With the increase and diversification of various parallel hardware platforms and parallel programming models, it is necessary to have the ability to quickly generate parallel programs for the desired target parallel platform. In vi...

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/51G06F8/73G06F8/75
CPCG06F8/51G06F8/73G06F8/75
Inventor 唐佩佳徐云余泽霖王嘎钟旭阳孙一佳
Owner UNIV OF SCI & TECH OF CHINA