M2L Translation Operators for Kernel Independent Fast Multipole Methods on Modern Architectures

Srinath Kailasa, Timo Betcke, Sarah El Kazdadi
{"title":"M2L Translation Operators for Kernel Independent Fast Multipole Methods on Modern Architectures","authors":"Srinath Kailasa, Timo Betcke, Sarah El Kazdadi","doi":"arxiv-2408.07436","DOIUrl":null,"url":null,"abstract":"Current and future trends in computer hardware, in which the disparity\nbetween available flops and memory bandwidth continues to grow, favour\nalgorithm implementations which minimise data movement even at the cost of more\nflops. In this study we review the requirements for high performance\nimplementations of the kernel independent Fast Multipole Method (kiFMM), a\nvariant of the crucial FMM algorithm for the rapid evaluation of N-body\npotential problems. Performant implementations of the kiFMM typically rely on\nFast Fourier Transforms for the crucial M2L (Multipole-to-Local) operation.\nHowever, in recent years for other FMM variants such as the black-box FMM also\nBLAS based M2L translation operators have become popular that rely on direct\nmatrix compression techniques. In this paper we present algorithmic\nimprovements for BLAS based M2L translation operator and benchmark them against\nFFT based M2L translation operators. In order to allow a fair comparison we\nhave implemented our own high-performance kiFMM algorithm in Rust that performs\ncompetitively against other implementations, and allows us to flexibly switch\nbetween BLAS and FFT based translation operators.","PeriodicalId":501309,"journal":{"name":"arXiv - CS - Computational Engineering, Finance, and Science","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-08-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Computational Engineering, Finance, and Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.07436","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Current and future trends in computer hardware, in which the disparity between available flops and memory bandwidth continues to grow, favour algorithm implementations which minimise data movement even at the cost of more flops. In this study we review the requirements for high performance implementations of the kernel independent Fast Multipole Method (kiFMM), a variant of the crucial FMM algorithm for the rapid evaluation of N-body potential problems. Performant implementations of the kiFMM typically rely on Fast Fourier Transforms for the crucial M2L (Multipole-to-Local) operation. However, in recent years for other FMM variants such as the black-box FMM also BLAS based M2L translation operators have become popular that rely on direct matrix compression techniques. In this paper we present algorithmic improvements for BLAS based M2L translation operator and benchmark them against FFT based M2L translation operators. In order to allow a fair comparison we have implemented our own high-performance kiFMM algorithm in Rust that performs competitively against other implementations, and allows us to flexibly switch between BLAS and FFT based translation operators.
现代架构上内核独立快速多极子方法的 M2L 转换算子
当前和未来计算机硬件的发展趋势是,可用闪存和内存带宽之间的差距不断扩大,因此,即使以更多的闪存为代价,也要尽量减少数据移动的算法实现。在本研究中,我们回顾了内核独立快速多极法(kiFMM)高性能实现的要求,kiFMM 是用于快速评估 N 体势垒问题的关键 FMM 算法的一个变体。kiFMM 的高性能实现通常依赖于快速傅立叶变换来实现关键的 M2L(多极到局部)操作。然而,近年来,对于其他 FMM 变体,如黑盒 FMM,基于BLAS 的 M2L 变换算子也开始流行起来,这些算子依赖于直接矩阵压缩技术。在本文中,我们介绍了基于 BLAS 的 M2L 转换算子的算法改进,并将其与基于FFT 的 M2L 转换算子进行比较。为了进行公平的比较,我们在 Rust 中实现了自己的高性能 kiFMM 算法,其性能与其他实现相比具有竞争力,并允许我们在基于 BLAS 和基于 FFT 的翻译算子之间灵活切换。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信