arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.05761cs.CEcs.MS
收藏

基于小波的网格自适应的GPU并行化用于快速有限体积建模:浅水流动应用

GPU-parallelisation of wavelet-based grid adaptation for fast finite volume modelling: application to shallow water flows

Alovya Ahmed Chowdhury, Georges Kesserwani, Charles Rougé, Paul Richmond

AI总结:

本研究通过Z-order曲线和并行树遍历算法重新设计多分辨率分析结构,实现GPU并行化的自适应有限体积模型,在保持建模保真度下,较GPU均匀网格模型快30倍,较CPU版本快200倍。

摘要:

基于Haar小波(HW)的“多分辨率分析”(MRA)驱动的基于小波的网格自适应,允许设计一个自适应的一阶有限体积(FV1)模型(HWFV1),该模型能够轻易地保持其参考均匀网格FV1对应模型的建模保真度。然而,MRA涉及对嵌套的均匀网格深层层次结构中的建模数据进行“编码”(粗化)、“解码”(细化)、分析和遍历,因此计算成本高昂。需要将MRA进行GPU并行化以降低其计算成本,但其算法结构(1)阻碍了GPU上的合并内存访问,并且(2)涉及一个固有的顺序树遍历问题。本工作重新设计了MRA的算法结构以便在GPU上并行化,通过应用Z-order空间填充曲线解决(1),通过采用并行树遍历算法解决(2)。这产生了一个GPU并行化的HWFV1模型(GPU-HWFV1)。GPU-HWFV1在五个浅水流动测试案例中与其CPU前身(CPU-HWFV1)及其GPU并行化的参考均匀网格对应模型(GPU-FV1)进行了验证。GPU-HWFV1保持了GPU-FV1的建模保真度,同时速度最高提升30倍。与CPU-HWFV1相比,其速度最高提升200倍,这表明GPU并行化的MRA可用于加速其他FV1模型。

英文摘要:

Wavelet-based grid adaptation driven by the "multiresolution analysis" (MRA) of the Haar wavelet (HW) allows to devise an adaptive first-order finite volume (FV1) model (HWFV1) that can readily preserve the modelling fidelity of its reference uniform-grid FV1 counterpart. However, the MRA incurs a high computational cost as it involves "encoding" (coarsening), "decoding" (refining), analysing and traversing modelled data across a deep hierarchy of nested, uniform grids. GPU-parallelisation of the MRA is needed to reduce its computational cost, but its algorithmic structure (1) hinders coalesced memory access on the GPU, and (2) involves an inherently sequential tree traversal problem. This work redesigns the algorithmic structure of the MRA in order to parallelise it on the GPU, addressing (1) by applying Z-order space-filling curves and addressing (2) by adopting a parallel tree traversal algorithm. This results in a GPU-parallelised HWFV1 model (GPU-HWFV1). GPU-HWFV1 is verified against its CPU predecessor (CPU-HWFV1) and its GPU-parallelised reference uniform-grid counterpart (GPU-FV1) over five shallow water flow test cases. GPU-HWFV1 preserves the modelling fidelity of GPU-FV1 while being up to 30 times faster. Compared to CPU-HWFV1, it is up to 200 times faster, suggesting the GPU-parallelised MRA could be used to speed up other FV1 models.

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

↑