We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:


Current browse context:


Change to browse by:

References & Citations


(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Statistics > Computation

Title: A tool set for random number generation on GPUs in R

Abstract: We introduce the R package clrng which leverages the gpuR package and is able to generate random numbers in parallel on a Graphics Processing Unit (GPU) with the clRNG (OpenCL) library. Parallel processing with GPU's can speed up computationally intensive tasks, which when combined with R, it can largely improve R's downsides in terms of slow speed, memory usage and computation mode. clrng enables reproducible research by setting random initial seeds for streams on GPU and CPU, and can thus accelerate several types of statistical simulation and modelling. The random number generator in clrng guarantees independent parallel samples even when R is used interactively in an ad-hoc manner, with sessions being interrupted and restored. This package is portable and flexible, developers can use its random number generation kernel for various other purposes and applications.
Subjects: Computation (stat.CO); Applications (stat.AP)
Cite as: arXiv:2201.06604 [stat.CO]
  (or arXiv:2201.06604v2 [stat.CO] for this version)

Submission history

From: Ruoyong Xu [view email]
[v1] Mon, 17 Jan 2022 19:36:11 GMT (183kb,D)
[v2] Thu, 20 Jan 2022 08:38:08 GMT (184kb,D)

Link back to: arXiv, form interface, contact.