Current browse context:
stat.CO
Change to browse by:
References & Citations
Statistics > Computation
Title: A tool set for random number generation on GPUs
(Submitted on 17 Jan 2022 (this version), latest version 13 Apr 2024 (v4))
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.
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)
[v3] Mon, 8 Apr 2024 16:40:09 GMT (177kb,D)
[v4] Sat, 13 Apr 2024 16:50:58 GMT (171kb,D)
Link back to: arXiv, form interface, contact.