pith. sign in

arxiv: 2106.02504 · v1 · pith:3FPNQKH7new · submitted 2021-06-04 · ⚛️ physics.comp-ph

A Portable Implementation of RANLUX++

classification ⚛️ physics.comp-ph
keywords implementationgeneratorhighportableranluxadvantagesallowsapple
0
0 comments X
read the original abstract

High energy physics has a constant demand for random number generators (RNGs) with high statistical quality. In this paper, we present ROOT's implementation of the RANLUX++ generator. We discuss the choice of relying only on standard C++ for portability reasons. Building on an initial implementation, we describe a set of optimizations to increase generator speed. This allows to reach performance very close to the original assembler version. We test our implementation on an Apple M1 and Nvidia GPUs to demonstrate the advantages of portable code.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.