arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2204.03775cs.MS
收藏

大规模可扩展模板算法

Massively scalable stencil algorithm

Mathias Jacquelin, Mauricio Araya-Polo, Jie Meng

摘要:

速度计算是许多科学和工业应用的核心。不幸的是,由于存储器访问的低重用,模板算法在具有基于高速缓存的存储层次结构的机器上表现不佳。这项工作表明,对于模板计算,一种新的算法,利用本地化的通信策略,有效地利用了Cerebras WSE-2,它没有缓存层次结构。本文着重研究三维波动方程的25点模板有限差分方法,这是地球模型数值模拟中经常使用的核心方法。本质上,该算法用存储器访问交换数据通信,并利用该架构提供的快速通信结构。该算法--历史上的内存限制--变成了计算限制。这允许实现接近完美的弱缩放,在WSE-2上达到503 TFLOP,这是一个只有完整集群才能最终产生的数字。

英文摘要:

Stencil computations lie at the heart of many scientific and industrial applications. Unfortunately, stencil algorithms perform poorly on machines with cache based memory hierarchy, due to low re-use of memory accesses. This work shows that for stencil computation a novel algorithm that leverages a localized communication strategy effectively exploits the Cerebras WSE-2, which has no cache hierarchy. This study focuses on a 25-point stencil finite-difference method for the 3D wave equation, a kernel frequently used in earth modeling as numerical simulation. In essence, the algorithm trades memory accesses for data communication and takes advantage of the fast communication fabric provided by the architecture. The algorithm -- historically memory bound -- becomes compute bound. This allows the implementation to achieve near perfect weak scaling, reaching up to 503 TFLOPs on WSE-2, a figure that only full clusters can eventually yield.

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

↑