首页> 外文期刊>AIP Advances >The development of GPU-based parallel PRNG for Monte Carlo applications in CUDA Fortran
【24h】

The development of GPU-based parallel PRNG for Monte Carlo applications in CUDA Fortran

机译:在CUDA Fortran中为Monte Carlo应用程序开发基于GPU的并行PRNG

获取原文
           

摘要

The implementation of Monte Carlo simulation on the CUDA Fortran requires a fast random number generation with good statistical properties on GPU. In this study, a GPU-based parallel pseudo random number generator (GPPRNG) have been proposed to use in high performance computing systems. According to the type of GPU memory usage, GPU scheme is divided into two work modes including GLOBAL_MODE and SHARED_MODE. To generate parallel random numbers based on the independent sequence method, the combination of middle-square method and chaotic map along with the Xorshift PRNG have been employed. Implementation of our developed PPRNG on a single GPU showed a speedup of 150x and 470x (with respect to the speed of PRNG on a single CPU core) for GLOBAL_MODE and SHARED_MODE, respectively. To evaluate the accuracy of our developed GPPRNG, its performance was compared to that of some other commercially available PPRNGs such as MATLAB, FORTRAN and Miller-Park algorithm through employing the specific standard tests. The results of this comparison showed that the developed GPPRNG in this study can be used as a fast and accurate tool for computational science applications.
机译:在CUDA Fortran上实施蒙特卡洛模拟需要在GPU上具有良好统计特性的快速随机数生成。在这项研究中,已提出了一种基于GPU的并行伪随机数生成器(GPPRNG)用于高性能计算系统。根据GPU内存使用的类型,GPU方案分为两种工作模式,包括GLOBAL_MODE和SHARED_MODE。为了基于独立序列方法生成并行随机数,已经采用了中间平方方法和混沌映射以及Xorshift PRNG的组合。我们在单个GPU上开发的PPRNG的实现分别显示了GLOBAL_MODE和SHARED_MODE的加速150倍和470倍(相对于单个CPU内核上PRNG的速度)。为了评估我们开发的GPPRNG的准确性,通过使用特定的标准测试,将其性能与其他一些商用PPRNG(例如MATLAB,FORTRAN和Miller-Park算法)进行了比较。比较结果表明,本研究中开发的GPPRNG可以用作计算科学应用程序的快速准确的工具。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号