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

Automatic transplanting and optimizing method for heterogeneous parallel program

An optimization method and program technology, applied in the direction of program code conversion, program code adaptation, software maintenance/management, etc., to achieve the effect of improving program performance, ensuring data consistency, and reducing redundant data transmission

Pending Publication Date: 2020-11-20
HARBIN INST OF TECH
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The object of the present invention is to provide a kind of heterogeneous parallel program automatic transplantation and optimization method, to realize CPU parallel program automatic transplantation, improve program performance while alleviating developer's work burden, thereby solve parallel instruction conversion, data transmission management and optimization problem

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
  • Automatic transplanting and optimizing method for heterogeneous parallel program
  • Automatic transplanting and optimizing method for heterogeneous parallel program
  • Automatic transplanting and optimizing method for heterogeneous parallel program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Attached below Figures 1 to 10 The realization of the present invention is described as follows:

[0036] 1. System framework for automatic transplantation of heterogeneous parallel programs

[0037] The Heterogeneous Parallel Program Automatic Migration System (abbreviated as OAO system) can automatically translate the OpenMP CPU parallel program into the OpenMP Offloading heterogeneous parallel program, and combine the runtime system to automatically manage and optimize the data transmission between the CPU and the accelerator. OAO system framework such as figure 1 As shown in , it mainly includes two parts (shaded part in the figure): source-to-source translator and runtime library.

[0038]The runtime library provides automatic data transmission management and optimization functions, maintains the consistent state of each variable memory area, and includes three types of APIs (Application Programming Interface, application programming interface): consistent state...

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 discloses an automatic transplanting and optimizing method for a heterogeneous parallel program, and belongs to a heterogeneous parallel program development technology. The invention aims to realize automatic transplantation of CPU parallel programs and improve the program performance while reducing the workload of developers, thereby solving the problems of parallel instruction conversion, data transmission management and optimization. The method is characterized in that a framework of a heterogeneous parallel program automatic transplanting system is constructed, and the heterogeneous parallel program automatic transplanting system is used for automatically translating an OpenMP CPU parallel program into an OpenMP Offloading heterogeneous parallel program; consistency stateconversion is formalized, on the premise that data consistency is guaranteed, transmission operation is optimized, and redundant data transmission is reduced; a runtime library is designed, wherein the runtime library is used for providing an automatic data transmission management and optimization function and maintaining the consistency state of each variable memory area; and a source-to-sourcetranslator is designed, wherein the translator is used for automatically converting a parallel instruction and automatically inserting a runtime API. The method can automatically identify the CPU parallel instruction and convert the CPU parallel instruction into the accelerator parallel instruction, so that the program performance is improved.

Description

technical field [0001] The invention relates to a heterogeneous parallel program automatic transplantation and optimization method, which belongs to the heterogeneous parallel program development technology. Background technique [0002] With the huge demand for computing power in different applications such as artificial intelligence, image processing, multi-physics simulation, quantum simulation, and climate simulation, heterogeneous platforms based on various accelerators have replaced the CPU (Central Processing Unit, central processing unit) as the computing power. main source of power. In the field of high-performance computing, GPU (Graphics Processing Unit, graphics processing unit) is mainly used as an accelerator, and GPU, DSP (Digital Signal Processing, digital signal processor) or FPGA (Field Programmable Gate Array, field programmable logic gate) are mainly used on mobile platforms. array) as an accelerator. While accelerators provide huge computing power, the...

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/76G06F8/51G06F8/41
CPCG06F8/76G06F8/51G06F8/41
Inventor 张伟哲王法瑞何慧郭浩男刘亚维张玥
Owner HARBIN INST OF TECH
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