基于共享内存硬件的无数据竞争多粒子模拟通用框架
Generic framework for data-race-free many-particle simulations on shared memory hardware
摘要:
最近,在制定和实施通用多粒子模拟方法方面取得了很大进展。然而,这些模型通常不利用共享内存硬件,或者不保证任意粒子动力学的数据竞争自由。在这里,我们提出了一个抽象的形式化模型的粒子动力学和相应的特定领域的编程语言,可以保证数据竞争的自由。模型和语言的设计都受到Rust编程语言的启发,该语言支持无数据竞争的通用并行计算。我们还提出了一种方法,防止死锁在我们的模型中,通过一个合适的图形表示的粒子模拟。最后,我们证明了我们的模型的实用性,一些常见的数值原语从分子动力学。
英文摘要:
Recently, there has been much progress in the formulation and implementation of methods for generic many-particle simulations. These models, however, typically either do not utilize shared memory hardware or do not guarantee data-race freedom for arbitrary particle dynamics. Here, we present both a abstract formal model of particle dynamics and a corresponding domain-specific programming language that can guarantee data-race freedom. The design of both the model and the language are heavily inspired by the Rust programming language that enables data-race-free general-purpose parallel computation. We also present a method of preventing deadlocks within our model by a suitable graph representation of a particle simulation. Finally, we demonstrate the practicability of our model on a number of common numerical primitives from molecular dynamics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。