三中心双电子斥力积分的高效GPU实现

IF 1.5 4区 计算机科学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING
Kanta Suzuki, Yasuaki Ito, Haruto Fujii, Nobuya Yokogawa, Satoki Tsuji, Koji Nakano, Victor Parque, Akihiko Kasagi
{"title":"三中心双电子斥力积分的高效GPU实现","authors":"Kanta Suzuki,&nbsp;Yasuaki Ito,&nbsp;Haruto Fujii,&nbsp;Nobuya Yokogawa,&nbsp;Satoki Tsuji,&nbsp;Koji Nakano,&nbsp;Victor Parque,&nbsp;Akihiko Kasagi","doi":"10.1002/cpe.70328","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>In computational quantum chemistry, the computation of three-center two-electron repulsion integrals (also termed three-center ERIs) is essential for density fitting. Due to the large number of integral elements and the induced combinatorial computational complexity, the community has actively pursued the acceleration/speedup of ERI calculations to achieve pragmatic levels of efficiency. From the perspective of GPU acceleration, <span>atomicAdd</span> is known to incur significant memory overhead: The frequent collisions and retrials of value aggregation in global GPU memory lead to substantial performance degradation. To tackle this issue, we propose new thread mapping strategies for three-center two-electron integrals on GPUs, aiming at reducing the computational cost associated with value aggregation. Our methods are based on the idea of suitable substitutions of device-level reduction (<span>atomicAdd</span>) with efficient warp- and thread-level reduction, such as warp-shuffle and register accumulation. As a result, our computational experiments using an Intel Xeon Gold 6338 CPU, an NVIDIA A100 GPU, and relevant molecules of interest show the superiority against the conventional thread mapping scheme, achieving up to 2.76 speedups to compute three-center ERIs more efficiently. Moreover, compared to well-known quantum chemistry software such as PySCF and GPU4PySCF, our method achieved up to <span></span><math>\n <semantics>\n <mrow>\n <mn>11</mn>\n <mo>.</mo>\n <mn>90</mn>\n <mo>×</mo>\n </mrow>\n <annotation>$$ 11.90\\times $$</annotation>\n </semantics></math> speedups over PySCF and up to <span></span><math>\n <semantics>\n <mrow>\n <mn>4</mn>\n <mo>.</mo>\n <mn>99</mn>\n <mo>×</mo>\n </mrow>\n <annotation>$$ 4.99\\times $$</annotation>\n </semantics></math> speedups over GPU4PySCF. Our method has the potential to further enhance the performance, extensibility, and versatility of GPU-accelerated quantum chemical computations.</p>\n </div>","PeriodicalId":55214,"journal":{"name":"Concurrency and Computation-Practice & Experience","volume":"37 25-26","pages":""},"PeriodicalIF":1.5000,"publicationDate":"2025-10-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Efficient GPU Implementations of Three-Center Two-Electron Repulsion Integrals\",\"authors\":\"Kanta Suzuki,&nbsp;Yasuaki Ito,&nbsp;Haruto Fujii,&nbsp;Nobuya Yokogawa,&nbsp;Satoki Tsuji,&nbsp;Koji Nakano,&nbsp;Victor Parque,&nbsp;Akihiko Kasagi\",\"doi\":\"10.1002/cpe.70328\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div>\\n \\n <p>In computational quantum chemistry, the computation of three-center two-electron repulsion integrals (also termed three-center ERIs) is essential for density fitting. Due to the large number of integral elements and the induced combinatorial computational complexity, the community has actively pursued the acceleration/speedup of ERI calculations to achieve pragmatic levels of efficiency. From the perspective of GPU acceleration, <span>atomicAdd</span> is known to incur significant memory overhead: The frequent collisions and retrials of value aggregation in global GPU memory lead to substantial performance degradation. To tackle this issue, we propose new thread mapping strategies for three-center two-electron integrals on GPUs, aiming at reducing the computational cost associated with value aggregation. Our methods are based on the idea of suitable substitutions of device-level reduction (<span>atomicAdd</span>) with efficient warp- and thread-level reduction, such as warp-shuffle and register accumulation. As a result, our computational experiments using an Intel Xeon Gold 6338 CPU, an NVIDIA A100 GPU, and relevant molecules of interest show the superiority against the conventional thread mapping scheme, achieving up to 2.76 speedups to compute three-center ERIs more efficiently. Moreover, compared to well-known quantum chemistry software such as PySCF and GPU4PySCF, our method achieved up to <span></span><math>\\n <semantics>\\n <mrow>\\n <mn>11</mn>\\n <mo>.</mo>\\n <mn>90</mn>\\n <mo>×</mo>\\n </mrow>\\n <annotation>$$ 11.90\\\\times $$</annotation>\\n </semantics></math> speedups over PySCF and up to <span></span><math>\\n <semantics>\\n <mrow>\\n <mn>4</mn>\\n <mo>.</mo>\\n <mn>99</mn>\\n <mo>×</mo>\\n </mrow>\\n <annotation>$$ 4.99\\\\times $$</annotation>\\n </semantics></math> speedups over GPU4PySCF. Our method has the potential to further enhance the performance, extensibility, and versatility of GPU-accelerated quantum chemical computations.</p>\\n </div>\",\"PeriodicalId\":55214,\"journal\":{\"name\":\"Concurrency and Computation-Practice & Experience\",\"volume\":\"37 25-26\",\"pages\":\"\"},\"PeriodicalIF\":1.5000,\"publicationDate\":\"2025-10-09\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Concurrency and Computation-Practice & Experience\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.1002/cpe.70328\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, SOFTWARE ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Concurrency and Computation-Practice & Experience","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/cpe.70328","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0

摘要

在计算量子化学中,三中心双电子排斥积分(也称为三中心ERIs)的计算是密度拟合的必要条件。由于大量的积分元素和诱导的组合计算复杂性,社区积极追求加速/加速ERI计算,以达到实用水平的效率。从GPU加速的角度来看,atomicAdd会导致显著的内存开销:在全局GPU内存中频繁的碰撞和值聚合的重试会导致显著的性能下降。为了解决这个问题,我们提出了新的gpu上三中心双电子积分的线程映射策略,旨在降低与值聚合相关的计算成本。我们的方法是基于用有效的经纱和线程级的减少(如经纱洗牌和寄存器积累)来适当替代设备级减少(atomicAdd)的思想。因此,我们使用Intel至强Gold 6338 CPU、NVIDIA A100 GPU和相关感兴趣的分子进行的计算实验表明,与传统的线程映射方案相比,该方案具有优势,可以实现高达2.76的加速,从而更有效地计算三中心eri。此外,与PySCF和GPU4PySCF等知名量子化学软件相比,我们的方法达到了11个。90 × $$ 11.90\times $$加速超过PySCF和高达4。99 × $$ 4.99\times $$加速超过GPU4PySCF。我们的方法有潜力进一步提高gpu加速量子化学计算的性能、可扩展性和多功能性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。

Efficient GPU Implementations of Three-Center Two-Electron Repulsion Integrals

Efficient GPU Implementations of Three-Center Two-Electron Repulsion Integrals

In computational quantum chemistry, the computation of three-center two-electron repulsion integrals (also termed three-center ERIs) is essential for density fitting. Due to the large number of integral elements and the induced combinatorial computational complexity, the community has actively pursued the acceleration/speedup of ERI calculations to achieve pragmatic levels of efficiency. From the perspective of GPU acceleration, atomicAdd is known to incur significant memory overhead: The frequent collisions and retrials of value aggregation in global GPU memory lead to substantial performance degradation. To tackle this issue, we propose new thread mapping strategies for three-center two-electron integrals on GPUs, aiming at reducing the computational cost associated with value aggregation. Our methods are based on the idea of suitable substitutions of device-level reduction (atomicAdd) with efficient warp- and thread-level reduction, such as warp-shuffle and register accumulation. As a result, our computational experiments using an Intel Xeon Gold 6338 CPU, an NVIDIA A100 GPU, and relevant molecules of interest show the superiority against the conventional thread mapping scheme, achieving up to 2.76 speedups to compute three-center ERIs more efficiently. Moreover, compared to well-known quantum chemistry software such as PySCF and GPU4PySCF, our method achieved up to 11 . 90 × $$ 11.90\times $$ speedups over PySCF and up to 4 . 99 × $$ 4.99\times $$ speedups over GPU4PySCF. Our method has the potential to further enhance the performance, extensibility, and versatility of GPU-accelerated quantum chemical computations.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Concurrency and Computation-Practice & Experience
Concurrency and Computation-Practice & Experience 工程技术-计算机:理论方法
CiteScore
5.00
自引率
10.00%
发文量
664
审稿时长
9.6 months
期刊介绍: Concurrency and Computation: Practice and Experience (CCPE) publishes high-quality, original research papers, and authoritative research review papers, in the overlapping fields of: Parallel and distributed computing; High-performance computing; Computational and data science; Artificial intelligence and machine learning; Big data applications, algorithms, and systems; Network science; Ontologies and semantics; Security and privacy; Cloud/edge/fog computing; Green computing; and Quantum computing.
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信