arrow
返回

Parallelisation of equation-based simulation programs on heterogeneous computing systems

delete2018-08-13
delete3
delete
OA
AI
D
Dragan Nikolić *
DOI:10.7717/peerj-cs.160delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Numerical solutions of equation-based simulations require computationally intensive tasks such as evaluation of model equations, linear algebra operations and solution of systems of linear equations. The focus in this work is on parallel evaluation of model equations on shared memory systems such as general purpose processors (multi-core CPUs and manycore devices), streaming processors (Graphics Processing Units and Field Programmable Gate Arrays) and heterogeneous systems. The current approaches for evaluation of model equations are reviewed and their capabilities and shortcomings analysed. Since stream computing differs from traditional computing in that the system processes a sequential stream of elements, equations must be transformed into a data structure suitable for both types. The postfix notation expression stacks are recognised as a platform and programming language independent method to describe, store in computer memory and evaluate general systems of differential and algebraic equations of any size. Each mathematical operation and its operands are described by a specially designed data structure, and every equation is transformed into an array of these structures (a Compute Stack). Compute Stacks are evaluated by a stack machine using a Last In First Out queue. The stack machine is implemented in the DAE Tools modelling software in the C99 language using two Application Programming Interface (APIs)/frameworks for parallelism. The Open Multi-Processing (OpenMP) API is used for parallelisation on general purpose processors, and the Open Computing Language (OpenCL) framework is used for parallelisation on streaming processors and heterogeneous systems. The performance of the sequential Compute Stack approach is compared to the direct C++ implementation and to the previous approach that uses evaluation trees. The new approach is 45% slower than the C++ implementation and more than five times faster than the previous one. The OpenMP and OpenCL implementations are tested on three medium-scale models using a multi-core CPU, a discrete GPU, an integrated GPU and heterogeneous computing setups. Execution times are compared and analysed and the advantages of the OpenCL implementation running on a discrete GPU and heterogeneous systems are discussed. It is found that the evaluation of model equations using the parallel OpenCL implementation running on a discrete GPU is up to twelve times faster than the sequential version while the overall simulation speed-up gained is more than three times.
Keyword:
Modelling
Simulation
Heterogeneous computing
Parallel computing
Differential-algebraic equations
Equation-based
Streaming processors
OpenCL
OpenMP
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

A multiple sclerosis two-compartmental differential equation computational model 3D simulation using OpenCL
err2025-02-01
err0
PREAI
errde Paula, Matheus avila Moreira; Silva, Gustavo G.; Gazola, Gabriela Machado; Quintela, Barbara M.; Lobosco, Marcelo
err分享
err收藏
Parallelisation of the Lagrangian atmospheric dispersion model NAME
err2013-12-01
err1
PREAI
errMueller, Eike H.; Ford, Rupert; Hort, Matthew C.; Huggett, Lois; Riley, Graham; Thomson, David J.
err分享
err收藏
err分享
err收藏

期刊

PeerJ Computer Science 封面图
PeerJ Computer Science
IF:
2.5
论文数:
3.4K
被引数:
9.4K

机构

暂无机构信息
引用论文

引用论文

Role of tungsten carbide (WC) and its hybrids in electrochemical water splitting application- A comprehensive review
err2022-09-01
err0
PREAI
errUmair Sohail; Erum Pervaiz; Maryum Ali; Rafiq Khosa; Abdul Shakoor; Uzair Abdullah
err分享
err收藏
err分享
err收藏
err分享
err收藏
学者 查看更多内容