Saved in:
Bibliographic Details
Main Authors: Xu, Ruoyong, Brown, Patrick, L'Ecuyer, Pierre
Format: Preprint
Published: 2022
Subjects:
Online Access:https://arxiv.org/abs/2201.06604
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913312320520192
author Xu, Ruoyong
Brown, Patrick
L'Ecuyer, Pierre
author_facet Xu, Ruoyong
Brown, Patrick
L'Ecuyer, Pierre
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2201_06604
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle clrng: A tool set for parallel random numbergeneration on GPUs in R
Xu, Ruoyong
Brown, Patrick
L'Ecuyer, Pierre
Computation
Applications
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.
title clrng: A tool set for parallel random numbergeneration on GPUs in R
topic Computation
Applications
url https://arxiv.org/abs/2201.06604