GPU-based GRAPES system optimization method and system, medium and equipment

A system optimization and optimization process technology, applied in the field of computer information, can solve problems such as computing performance needs to be improved, achieve the effect of reducing data transmission overhead, avoiding data transmission, and improving overall performance

Pending Publication Date: 2021-03-12
QINGHAI UNIVERSITY
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although MPI+OpenMP hybrid parallel technology can improve the solution speed to a certain extent, the computing performance still needs to be improved

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
  • GPU-based GRAPES system optimization method and system, medium and equipment
  • GPU-based GRAPES system optimization method and system, medium and equipment
  • GPU-based GRAPES system optimization method and system, medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0027] figure 1 The flow chart of the GPU-based GRAPES system optimization method provided by the embodiment of the present invention. Such as figure 1 As shown, the optimization process for solving the Helmholtz equation based on the generalized conjugate residual method in this method includes:

[0028] S101, performing data format conversion and data initialization for storage space development;

[0029] S102, using CUDA to transplant the calculation process of the generalized conjugate residual method to GPU;

[0030] S103, for those that can be processed in parallel in the calculation process, multi-thread parallel processing is used in the GPU, and the video memory is used for communication during the calcu...

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 GPU-based GRAPES system optimization method and system, a medium and equipment. The method comprises the steps of performing data format conversion and data initialization of storage space development; conducting GPU transplantation on the calculation process of the generalized conjugate residual error method through CUDA, parallel processing can be conducted in the calculation process, adopting multi-thread parallel processing in a GPU, communication by a video memory in the calculation process, and saving intermediate variables in the GPU; for the data which cannotbe processed in parallel in the calculation process, copying the preposed data back to the CPU end for calculation, and copying the calculation result back to the GPU end. According to the embodimentof the invention, GPU transplantation is carried out on the calculation process, parallel processing can be carried out, multi-thread parallel processing is adopted in the GPU, a video memory is usedfor communication in the calculation process, and intermediate variables are all stored on the GPU, so that frequent data transmission with a CPU end is avoided, the data transmission overhead between the GPU and the CPU is reduced, and the overall performance of a program is improved.

Description

technical field [0001] The present invention relates to the field of computer information technology, in particular to a GPU-based GRAPES system optimization method, system, medium and equipment. Background technique [0002] In the early 21st century, in order to improve the performance of weather forecast models and meet the people's increasing demand for weather forecast accuracy, Chinese meteorologists began to conduct independent research on my country's new generation of numerical weather prediction systems (GRAPES). The calculation core of the GRAPES dynamic framework is the solution of the Helmholtz equation, which is a large-scale sparse linear equation set formed after a series of discretization processes of the original atmospheric equation set. At present, there are mainly two methods for solving linear equations, which are direct method and iterative method. Due to the limitations of computer hardware conditions, the direct method cannot be used to complete an ...

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): G06F9/50G01W1/00
CPCG01W1/00G06F9/5038
Inventor 贾金芳张琨严文昕黄建强王晓英
Owner QINGHAI UNIVERSITY
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