• DocumentCode
    2911157
  • Title

    Generating massive high-quality random numbers using GPU

  • Author

    Pang, Wai-Man ; Wong, Tien-Tsin ; Heng, Pheng-Ann

  • Author_Institution
    Dept. of Comput. Sci. & Eng., Chinese Univ. of Hong Kong, Hong Kong
  • fYear
    2008
  • fDate
    1-6 June 2008
  • Firstpage
    841
  • Lastpage
    847
  • Abstract
    Pseudo-random number generators (PRNG) have been intensively used in many stochastic algorithms in artificial intelligence, computer graphics and other scientific computing. However, the current commodity GPU design does not facilitate the efficient implementation of high-quality PRNGs that require high-precision integer arithmetics and bitwise operations. In this paper, we propose a framework to generate a high-quality PRNG shader for all kinds of GPUs. We adopt the cellular automata (CA) PRNG to facilitate high speed and parallel random number generation. The configuration of the CA PRNG is completed automatically by optimizing an objective function that accounts for quality of generated random sequences. To visually evaluate the result, we apply the best PRNG shader to photon mapping. Timing statistics show that our GPU parallelized PRNG is much faster than a pure CPU implementation.
  • Keywords
    cellular automata; coprocessors; optimisation; parallel processing; random number generation; statistical analysis; timing; GPU; artificial intelligence; bitwise operations; cellular automata; computer graphics; high-precision integer arithmetics; objective function optimisation; parallel random number generation; photon mapping; pseudo-random number generators; scientific computing; stochastic algorithms; timing statistics; Arithmetic; Artificial intelligence; Computer graphics; Concurrent computing; Random number generation; Random sequences; Scientific computing; Statistics; Stochastic processes; Timing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Evolutionary Computation, 2008. CEC 2008. (IEEE World Congress on Computational Intelligence). IEEE Congress on
  • Conference_Location
    Hong Kong
  • Print_ISBN
    978-1-4244-1822-0
  • Electronic_ISBN
    978-1-4244-1823-7
  • Type

    conf

  • DOI
    10.1109/CEC.2008.4630894
  • Filename
    4630894