Numerical calculation software acceleration method based on CPU-GPU (Central Processing Unit-Graphics Processing Unit) collaboration
A numerical computing, CPU module technology, applied in the field of heterogeneous computing, can solve the problems of waste of GPU computing resources, lack of performance improvement of interpreted language, and lack of full use of hardware advantages, and achieve the effect of improving execution efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0034] Such as figure 1 As shown, the present invention provides a numerical calculation software acceleration method based on CPU-GPU cooperation, including:
[0035] Divide the source program into basic blocks;
[0036] Estimate the basic block operation information through the code analysis module;
[0037] Divide basic blocks into GPU modules and CPU modules according to running information;
[0038] Compile the GPU module in real time to get the GPU code;
[0039] Just-in-time compilation or interpreted execution for CPU modules.
[0040] In this embodiment, before the source program is divided into basic blocks, syntax tree construction and type inference are also performed on the source program.
[0041] In this embodiment, the source program is divided into basic blocks, and each basic block satisfies:
[0042] (1) The control flow can only be entered from the entry statement of the basic block, which is the first statement of the program, the target statement of ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


