arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.05392physics.comp-phhep-exhep-ph
收藏

Madgraph CUDACPP插件中的新GPU发展:内核分割、手性流、cuBLAS颜色和解

New GPU developments in the Madgraph CUDACPP plugin: kernel splitting, helicity streams, cuBLAS color sums

CERN(欧洲核子研究中心)

Andrea Valassi

AI总结:

本文介绍了Madgraph CUDACPP插件中针对GPU的改进,包括内核分割、手性流和cuBLAS颜色和解优化,提升了高阶过程的计算性能。

摘要:

Madgraph5_aMC@NLO生成器的CUDACPP插件的第一个生产版本于2024年10月发布,该版本利用向量CPU和GPU的数据并行方法加速了leading-order(LO)过程的矩阵元素(ME)计算。此前,该团队已在此前的出版物中对此进行了描述。在本文中,我描述了我在CUDACPP的一些额外发展和优化工作,主要但不局限于GPU。新的方法代表了CUDACPP计算引擎的重大重构,主要在于将此前使用单个大型GPU内核进行的ME计算分割为许多较小的内核。一组初步的更改,包括迁移到单独的“手性流”以及可选地将QCD颜色和解卸载到BLAS中,最近已被合并到一个新的CUDACPP版本中,与我的同事合作完成。此后,我完成了另一组更改,包括将计算分割为多个费曼图组的可能,分别存储在不同的源代码文件中。这一新功能使能够计算具有更多最终态胶子的QCD矩阵元素:特别是,我展示了CUDACPP在CPU和GPU上对$2\!\rightarrow\!6$过程$gg\!\rightarrow\!t\bar{t}gggg$以及在CPU上对$2\!\rightarrow\!7$过程$gg\!\rightarrow\!t\bar{t}ggggg$的性能结果,分别涉及超过15k和230k个费曼图。我还借此机会详细描述了CUDACPP软件中一些之前未记录的功能,包括在GPU和向量CPU实现中的部分。

英文摘要:

The first production release of the CUDACPP plugin for the Madgraph5_aMC@NLO generator, which speeds up matrix element (ME) calculations for leading-order (LO) processes using a data parallel approach on vector CPUs and GPUs, was delivered in October 2024. This was described in previous publications by the team behind that effort. In this paper, I describe my work on some additional developments and optimizations of CUDACPP, mainly but not exclusively for GPUs. The new approach, which represents a major restructuring of the CUDACPP computational engine, primarily consists in splitting the ME calculation, previously performed using a single large GPU kernel, into many smaller kernels. A first batch of changes, involving the move to separate "helicity streams" and the optional offloading of QCD color sums to BLAS, was recently merged into a new CUDACPP release, in collaboration with my colleagues. Since then, I have completed a second batch of changes, involving the possibility to split the calculation into groups of Feynman diagrams in separate source code files. This new feature makes it possible to compute QCD matrix elements for physics processes with a larger number of final state gluons: in particular, I present the first performance results from CUDACPP for the $2\!\rightarrow\!6$ process $gg\!\rightarrow\!t\bar{t}gggg$ on CPUs and GPUs and the $2\!\rightarrow\!7$ process $gg\!\rightarrow\!t\bar{t}ggggg$ on CPUs, which involve over 15k and 230k Feynman diagrams, respectively. I also take this opportunity to describe in detail some previously undocumented features of the CUDACPP software, both in the GPU and vector CPU implementations.

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

↑