Cargando…

A Portable Implementation of RANLUX++

<!--HTML-->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...

Descripción completa

Detalles Bibliográficos
Autor principal: Hahnfeld, Jonas
Lenguaje:eng
Publicado: 2021
Materias:
Acceso en línea:http://cds.cern.ch/record/2767027
_version_ 1780971261335175168
author Hahnfeld, Jonas
author_facet Hahnfeld, Jonas
author_sort Hahnfeld, Jonas
collection CERN
description <!--HTML-->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.
id cern-2767027
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2021
record_format invenio
spelling cern-27670272022-11-02T22:25:50Zhttp://cds.cern.ch/record/2767027engHahnfeld, JonasA Portable Implementation of RANLUX++25th International Conference on Computing in High Energy & Nuclear PhysicsConferences<!--HTML-->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.oai:cds.cern.ch:27670272021
spellingShingle Conferences
Hahnfeld, Jonas
A Portable Implementation of RANLUX++
title A Portable Implementation of RANLUX++
title_full A Portable Implementation of RANLUX++
title_fullStr A Portable Implementation of RANLUX++
title_full_unstemmed A Portable Implementation of RANLUX++
title_short A Portable Implementation of RANLUX++
title_sort portable implementation of ranlux++
topic Conferences
url http://cds.cern.ch/record/2767027
work_keys_str_mv AT hahnfeldjonas aportableimplementationofranlux
AT hahnfeldjonas 25thinternationalconferenceoncomputinginhighenergynuclearphysics
AT hahnfeldjonas portableimplementationofranlux