arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1204.6193physics.comp-phcond-mat.stat-mechhep-lat
收藏

用于GPU大规模并行仿真的随机数发生器

Random number generators for massively parallel simulations on GPU

Markus Manssen, Martin Weigel, Alexander K. Hartmann

摘要:

高性能的(伪)随机数流对于无数随机算法的有效实现至关重要,最重要的是,蒙特卡罗模拟和随机恒温器的分子动力学模拟。之前已经讨论了GPU平台上的许多随机数生成器的实现,有些生成器甚至包含在CUDA支持库中。然而,并不是所有这些生成器都非常适合高度并行的应用程序,其中每个线程都需要自己的生成器实例。对于这种特定的情况,例如,在晶格模型的模拟中,大多数具有大状态的高质量生成器,如梅森扭转器,如果没有实质性的变化,就不能有效地使用。我们提供了一个广泛的审查现有的CUDA变体的随机数发生器,并提出了CUDA实现一个新的大规模并行高质量,高性能的发生器,内存负载开销小。

英文摘要:

High-performance streams of (pseudo) random numbers are crucial for the efficient implementation for countless stochastic algorithms, most importantly, Monte Carlo simulations and molecular dynamics simulations with stochastic thermostats. A number of implementations of random number generators has been discussed for GPU platforms before and some generators are even included in the CUDA supporting libraries. Nevertheless, not all of these generators are well suited for highly parallel applications where each thread requires its own generator instance. For this specific situation encountered, for instance, in simulations of lattice models, most of the high-quality generators with large states such as Mersenne twister cannot be used efficiently without substantial changes. We provide a broad review of existing CUDA variants of random-number generators and present the CUDA implementation of a new massively parallel high-quality, high-performance generator with a small memory load overhead.

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

↑