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

QMCPACK 蒙特卡洛代码中分层并行性的高性能设计

A High-Performance Design for Hierarchical Parallelism in the QMCPACK Monte Carlo code

Ye Luo, Peter Doak, Paul Kent

AI总结:

本文提出 QMCPACK 的新型高性能并行设计,通过蒙特卡洛行走者群体概念提升 GPU 占用率并支持 CPU 回退,从而在异构架构上实现更高性能并降低维护成本。

摘要:

我们为量子蒙特卡洛代码 QMCPACK 引入了一种新的高性能并行设计。我们证明,与之前的 GPU 实现相比,新设计能够更好地利用异构架构的分层并行性。新版本通过蒙特卡洛行走者群体(crowds)这一新概念,以及使更多主机 CPU 线程能够有效地卸载到 GPU,实现了更高的 GPU 占用率。预期更高的性能可以在不依赖底层硬件的情况下实现,从而显著提高开发人员生产力并降低代码维护成本。科学生产力也得到提升,因为在 GPU 实现不可用或 CPU 执行更优时,新设计完全支持回退到 CPU 执行。

英文摘要:

We introduce a new high-performance design for parallelism within the Quantum Monte Carlo code QMCPACK. We demonstrate that the new design is better able to exploit the hierarchical parallelism of heterogeneous architectures compared to the previous GPU implementation. The new version is able to achieve higher GPU occupancy via the new concept of crowds of Monte Carlo walkers, and by enabling more host CPU threads to effectively offload to the GPU. The higher performance is expected to be achieved independent of the underlying hardware, significantly improving developer productivity and reducing code maintenance costs. Scientific productivity is also improved with full support for fallback to CPU execution when GPU implementations are not available or CPU execution is more optimal.

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

↑