系统仿真学报 ›› 2022, Vol. 34 ›› Issue (4): 670-678.doi: 10.16182/j.issn1004731x.joss.21-1317

• 专栏:面向复杂产品的建模仿真与优化 • 上一篇    下一篇

面向CPU、GPU多目标机的混合求解器设计与实现

马琳(), 张雪松(), 雷新丽, 包铁   

  1. 吉林大学 计算机科学与技术学院,吉林 长春 130012
  • 收稿日期:2021-12-20 修回日期:2022-02-16 出版日期:2022-04-30 发布日期:2022-04-19
  • 通讯作者: 张雪松 E-mail:malin20@mails.jlu.edu.cn;wetting@jlu.edu.cn
  • 作者简介:马琳(1995-),男,硕士生,研究方向为并行计算与复杂系统仿真。E-mail:malin20@mails.jlu.edu.cn
  • 基金资助:
    国家重点研发计划(2018YFB1701600)

Design and Implementation of A Hybrid Solver on CPU and GPU Multi-target Machines

Lin Ma(), Xuesong Zhang(), Xinlin Lei, Tie Bao   

  1. College of Computer Science and Technology, Jilin University, Changchun 130012, China
  • Received:2021-12-20 Revised:2022-02-16 Online:2022-04-30 Published:2022-04-19
  • Contact: Xuesong Zhang E-mail:malin20@mails.jlu.edu.cn;wetting@jlu.edu.cn

摘要:

传统常微分方程的并行求解方法主要包括面向任务的并行和面向方法的并行,但是这两种求解算法,只能利用CPU,或者只能面向同质形式的ODE(ordinary differential equations)簇,存在严重不足。以RIDC(revisionist integral deferred correction)算法为基础,设计了一种面向CPU、GPU多目标机的混合求解器,基于流水线形式求解微分方程组,实现了单个方程组的内部和不同方程组之间的并行计算,进而能够充分发挥GPU的多核优势,有利于计算节点内部的负载均衡。仿真实验验证了框架的效率、准确率和精准度。

关键词: 常微分方程, 混合求解, 多目标机, CPU, GPU

Abstract:

The traditional parallel solving methods for the ordinary differential equations mainly include the task-oriented parallelism and the method-oriented parallelism. However, these two solving algorithms have serious shortcomings, which can only use CPU resource or just design for the homogeneous form of ODE(ordinary differential equations) clusters. By using RIDC(revisionist integral deferred correction) algorithm, a hybrid solver based on CPU and GPU multi-target machine is designed, which solves the differential equation system based on the pipeline form. Meanwhile, the parallel calculation within a single equation group and between the different equation groups is realized, which can give full play to the multi-core advantage of GPU, and also help to balance the load inside the computing node. The simulation experiments verify the efficiency, accuracy and precision of the framework.

Key words: ordinary differential equation, hybrid solver, multi-target machine, CPU, GPU

中图分类号: