IDEAS home Printed from https://ideas.repec.org/a/bpj/mcmeap/v21y2015i2p163-174n5.html
   My bibliography  Save this article

Memory efficient lagged-Fibonacci random number generators for GPU supercomputing

Author

Listed:
  • Andersen Timothy D.

    (Sensors and Electromagnetic Applications Lab, Georgia Tech Research Institute, Georgia Institute of Technology, Atlanta, GA, USA)

  • Mascagni Michael

    (Department of Computer Science, Department of Mathematics, Department of Scientific Computing, Graduate Program in Molecular Biophysics, Florida State University, Tallahassee, FL, USA)

Abstract

Graphics Processing Units (GPUs) bring the promise of supercomputing power for a fraction of the cost of traditional supercomputing, with possible speed-ups over comparable CPU hardware of one or two orders of magnitude. Rapid development of both proprietary libraries, such as NVIDIA's CUDA, and an open standard, OpenCL, have opened the doors to the GPU's cheap computing power. Unfortunately, random number generators (RNGs) have been slow to catch up with the rapid expansion of GPU computing. The number of types of RNGs available for GPUs is small, and the statistical quality of those provided with standard libraries are frequently unknown. Because specific RNGs may have statistical quality for certain applications, new kinds of RNGs must be made available for GPU computing to bring the full power of GPUs to different kinds of research. Lagged-Fibonacci Generators (LFGs), in particular, have been difficult to develop for memory-challenged GPUs because of their large state space, which is unfortunate because they have excellent statistical properties for many applications. In this paper, we discuss our implementation of memory efficient, integer, cycle-split, additive and multiplicative LFGs for both CUDA and OpenCL. The latter LFG has been implemented neither for GPUs nor as a split-steam parallel generator before. We also discuss portability and reproducibility between CPUs and GPUs.

Suggested Citation

  • Andersen Timothy D. & Mascagni Michael, 2015. "Memory efficient lagged-Fibonacci random number generators for GPU supercomputing," Monte Carlo Methods and Applications, De Gruyter, vol. 21(2), pages 163-174, June.
  • Handle: RePEc:bpj:mcmeap:v:21:y:2015:i:2:p:163-174:n:5
    DOI: 10.1515/mcma-2014-0017
    as

    Download full text from publisher

    File URL: https://doi.org/10.1515/mcma-2014-0017
    Download Restriction: For access to full text, subscription to the journal or payment for the individual article is required.

    File URL: https://libkey.io/10.1515/mcma-2014-0017?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:bpj:mcmeap:v:21:y:2015:i:2:p:163-174:n:5. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Peter Golla (email available below). General contact details of provider: https://www.degruyter.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.