arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1206.1187cs.MScs.DCcs.NAmath.NAmath.PR
收藏

基于正规数的GPU并行随机变量发生器

Parallel random variates generator for GPUs based on normal numbers

Gleb Beliakov, Michael Johnstone, Doug Creighton, Tim Wilkin

摘要:

伪随机数发生器是许多计算任务所必需的,例如随机建模和仿真。本文研究了一种基于正规数$α_{2,3}$二进制表示的线性同余发生器的串行CPU和并行GPU实现。我们采用了两种模约简方法,使我们能够执行64位整数运算中的大多数运算,改进了基于106位双双运算的原始实现。我们发现,我们的实现比文献中现有的方法更快,我们的生成速率接近于写入GPU全局内存的效率所施加的限制速率。

英文摘要:

Pseudorandom number generators are required for many computational tasks, such as stochastic modelling and simulation. This paper investigates the serial CPU and parallel GPU implementation of a Linear Congruential Generator based on the binary representation of the normal number $α_{2,3}$. We adapted two methods of modular reduction which allowed us to perform most operations in 64-bit integer arithmetic, improving on the original implementation based on 106-bit double-double operations. We found that our implementation is faster than existing methods in literature, and our generation rate is close to the limiting rate imposed by the efficiency of writing to a GPU's global memory.

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

↑