arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2612.05388cs.DCcs.MS
收藏

FlashM2L:一种奇偶有序FP64张量核多极到局部算子,可使黑盒FMM运行在FP64向量峰值之上

FlashM2L: A Parity-Ordered FP64 Tensor-Core Multipole-to-Local Operator That Runs the Black-Box FMM Above the FP64 Vector Peak

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Xi'an Jiaotong University(西安交通大学);Zhejiang Sci-Tech University(浙江理工大学);Fudan University(复旦大学);Nankai University(南开大学)

Dezhen Lu, Runguo Li, Zixiang Ni, Yuchen Tang, Jiaxing Yang, Jiarui Guo

AI总结:

该研究提出FlashM2L算子,通过按源奇偶性分组项削减内存流量,使黑盒FMM运行在FP64向量峰值之上,可将bbFMM评估速度提升最高1.5倍。

摘要:

在黑盒快速多极方法(bbFMM)中,多极到局部(M2L)转换是每个目标框的小型算子乘积的密集求和。尽管Hopper架构的FP64张量核指令(DMMA)超过了FP64向量峰值,但这种按常规顺序的求和受限于高带宽内存(HBM)流量。本文提出FlashM2L,一种以目标为中心的DMMA算子,其分块基于寄存器和共享内存预算推导而来,可复现全部7种试点分块。片重用模型在运行前选择项顺序:按源奇偶性分组项可将DRAM流量削减5-14倍。在GH200上,FlashM2L运行在实测FP64向量峰值之上,这是相同乘加操作的任何FP64-FMA实现的边界:在L2中扩展时为该峰值的1.05-1.31倍,在HBM中扩展时可达1.32倍。在本研究编写的预注册全FP64 bbFMM中,用FlashM2L替换其DFMA M2L核可将评估速度提升最高1.5倍(不同规模的几何平均值)。在FMM的精度下,相同求和的INT8 Ozaki-II残差形式作为算子在K=173时比DMMA快2.03-2.50倍。所有预注册标准及其冻结的预测和结果均在附录台账中。

英文摘要:

In the black-box fast multipole method (bbFMM), multipole-to-local (M2L) translation is a dense sum of small operator products per target box. Although Hopper's FP64 tensor-core instructions (DMMA) exceed the FP64 vector peak, this sum in its usual order is limited by HBM traffic. The article presents FlashM2L, a target-centric DMMA operator whose tiling follows from register and shared-memory budgets and reproduces all seven pilot tilings. A slab-reuse model chooses the term order before the run: grouping the terms by source parity cuts DRAM traffic 5-14-fold. On GH200, FlashM2L runs above the measured FP64 vector peak, a bound for any FP64-FMA implementation of the same multiply-adds: 1.05-1.31x that peak with its expansions in L2 and up to 1.32x with them in HBM. In a preregistered whole FP64 bbFMM written for this study, replacing its DFMA M2L kernels with FlashM2L speeds up the evaluation by up to 1.5x (geometric mean over sizes). At the FMM's accuracy, an INT8 Ozaki-II residue form of the same sum is a further 2.03-2.50x faster than DMMA as an operator at K=173. Every preregistered criterion, with its frozen prediction and outcome, is in an appendix ledger.

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

↑