A GPU-based heterogeneous acceleration method for fluid mechanical simulation programs

A simulation program and fluid machinery technology, applied in the intersection of fluid mechanics and high-performance computing, can solve problems such as the large difference between the coprocessor architecture and the CPU architecture, the incompatibility between the writing method and the optimization scheme, etc., to accelerate the expansion of the area, The effect of low damage of program parallelism and high effective bandwidth

Active Publication Date: 2021-01-19
XI AN JIAOTONG UNIV
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional fluid machinery programs are optimized for CPU architectures. With the rise of heterogeneous computing, the differences between coprocessor architectures and CPU architectures are increasing. The traditional fluid machinery simulation program writing methods and optimization schemes can no longer be directly compared with New hardware architecture adaptation

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
  • A GPU-based heterogeneous acceleration method for fluid mechanical simulation programs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention is further described below in conjunction with accompanying drawing:

[0026] see figure 1 , a heterogeneous acceleration method for a GPU-based fluid mechanical simulation program, comprising the following steps:

[0027] Step 1, by using the combination of static analysis and dynamic analysis, analyze the hot spots of the fluid machinery simulation program; and carry out preliminary parallelization of the selected hot spots;

[0028] Step 2, for the preliminary parallelization program in step 1, for the intensive part of data transmission between the host devices, the intermediate results are transplanted to the GPU side to reduce the data transmission between the host devices;

[0029] Step 3, for the program in step 2, by allocating the memory layout of the grid data, the threads in the same warp read and update the adjacent grid data in the memory, and use shared memory, constants according to the program characteristics Memory and texture m...

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 a GPU (Graphics Processing Unit)-based fluid machinery simulation program heterogeneous acceleration method. The method comprises the following steps of: analyzing a hot spot,and finding a subprogram with an acceleration potential; Reducing and avoiding data transmission between the host devices; Through combination of memory access and utilization of multiple types of memories, the effective memory utilization rate is increased, and the memory access ratio is calculated; Code reconstruction exposes data parallelism, GPU kernel explicit global synchronization lossy data parallelism should be avoided as much as possible; GPU adaptation of the serial algorithm is carried out, and the serial algorithm is replaced with a parallel algorithm with the same function; Thread distribution parameters are adjusted, thread calculation delay is fully hidden by adjusting thread distribution, and calculation throughput is improved; If the ideal effect is achieved through the steps, acceleration is completed, and otherwise, new round of iteration is started from hot spot analysis until the satisfactory effect is achieved. The invention provides the GPU acceleration method aiming at the characteristics of the fluid machinery simulation program, and the modified program can achieve an ideal acceleration effect.

Description

technical field [0001] The invention belongs to the intersection field of fluid mechanics and high-performance computing, and in particular relates to a heterogeneous acceleration method for a fluid mechanical simulation program based on GPU. Background technique [0002] Computational fluid dynamics is one of the important technologies in the field of fluid mechanics. By using numerical methods to solve the control equations of fluid mechanics in the computer, the flow of the flow field can be predicted. With the improvement of computer computing power, more and more refined fluid dynamics models can be constructed. At the same time, in order to calculate the flow field changes of fluid mechanics more accurately and make the flow field movement more "real", the fluid mechanics model is becoming more and more refined, which also puts forward higher requirements for computing power. [0003] As the transistor density and frequency of single-core chips reach the bottleneck, m...

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/50
CPCG06F9/5016G06F9/5027G06F2209/5018
Inventor 张兴军赵文强董小社李靖波雷雨鲁晨欣周剑锋伍卫国邹年俊何峰
Owner XI AN JIAOTONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products