arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.05395physics.comp-phcs.DCcs.MS
收藏

偏微分方程数值解的批处理GPU方法

A Batched GPU Methodology for Numerical Solutions of Partial Differential Equations

Enda Carroll, Andrew Gloster, Miguel D. Bustamante, Lennon Ó' Náraigh

摘要:

在本文中,我们提出了一种方法来解决批量的三对角和五对角矩阵,所有共享相同的左手边(LHS)矩阵时的数据访问。预期的应用是通过有限差分法的偏微分方程的数值解,虽然该方法适用范围更广。通过仅存储该矩阵的一个副本,获得了存储开销的显著减少,以及计算时间的相应减少。这两项性能增强结合在一起,使当前最先进的算法cuerasBatch和cuPentBatch的实现效率更高,允许在单个GPU上解决更多的系统。我们证明的扩散方程,超扩散方程,和Cahn-Hilliard方程的情况下,所有在一个空间维度的方法。在最后一个示例中,我们演示了如何使用该方法来执行一维相分离的$2^{20}$独立模拟。通过这种方式,我们建立了一个强大的统计描述的粗化现象,这是相分离的定义行为。我们预计,该方法将进一步使用在其他类似的情况下,需要统计模拟的物理系统。

英文摘要:

In this paper we present a methodology for data accesses when solving batches of Tridiagonal and Pentadiagonal matrices that all share the same left-hand-side (LHS) matrix. The intended application is to the numerical solution of Partial Differential Equations via the finite-difference method, although the methodology is applicable more broadly. By only storing one copy of this matrix, a significant reduction in storage overheads is obtained, together with a corresponding decrease in compute time. Taken together, these two performance enhancements lead to an overall more efficient implementation over the current state of the art algorithms cuThomasBatch and cuPentBatch, allowing for a greater number of systems to be solved on a single GPU. We demonstrate the methodology in the case of the Diffusion Equation, Hyperdiffusion Equation, and the Cahn--Hilliard Equation, all in one spatial dimension. In this last example, we demonstrate how the method can be used to perform $2^{20}$ independent simulations of phase separation in one dimension. In this way, we build up a robust statistical description of the coarsening phenomenon which is the defining behavior of phase separation. We anticipate that the method will be of further use in other similar contexts requiring statistical simulation of physical systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑