English

A Portable Implementation of RANLUX++

Computational Physics 2021-09-08 v1

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.

Cite

@article{arxiv.2106.02504,
  title  = {A Portable Implementation of RANLUX++},
  author = {Jonas Hahnfeld and Lorenzo Moneta},
  journal= {arXiv preprint arXiv:2106.02504},
  year   = {2021}
}

Comments

8 pages; submitted to vCHEP 2021

R2 v1 2026-06-24T02:50:31.123Z