Cargando…
Counter-based pseudorandom number generators for CORSIKA 8 : A multi-thread friendly approach
<!--HTML-->This document is devoted to the description of advances in the generation of high-quality random numbers for CORSIKA 8, which is being developed in modern C++17 and is designed to run on modern multi-thread processors and accelerators. CORSIKA 8 is a Monte Carlo simulation framework...
Autor principal: | |
---|---|
Lenguaje: | eng |
Publicado: |
2021
|
Materias: | |
Acceso en línea: | http://cds.cern.ch/record/2767020 |
_version_ | 1780971260257239040 |
---|---|
author | Alves Junior, Antonio Augusto |
author_facet | Alves Junior, Antonio Augusto |
author_sort | Alves Junior, Antonio Augusto |
collection | CERN |
description | <!--HTML-->This document is devoted to the description of advances in the generation of high-quality random numbers for CORSIKA 8, which is being developed in modern C++17 and is designed to run on modern multi-thread processors and accelerators. CORSIKA 8 is a Monte Carlo simulation framework to model ultra-high energy secondary particle cascades in astroparticle physics. The aspects associated with the generation of high-quality random numbers on massively parallel platforms, like multi-core CPUs and GPUs, are reviewed and the deployment of counter-based engines using an innovative and multi-thread friendly API are described. The API is based on iterators providing a very well known access mechanism in C++, and also supports lazy evaluation. Moreover,an upgraded version of the Squares algorithm with highly efficient internal 128 as well as 256 bit counters is presented in this context. Performance measurements are provided, as well as comparisons with conventional designs are given. Finally, the integration into CORSIKA 8 is commented. |
id | cern-2767020 |
institution | Organización Europea para la Investigación Nuclear |
language | eng |
publishDate | 2021 |
record_format | invenio |
spelling | cern-27670202022-11-02T22:25:50Zhttp://cds.cern.ch/record/2767020engAlves Junior, Antonio AugustoCounter-based pseudorandom number generators for CORSIKA 8 : A multi-thread friendly approach25th International Conference on Computing in High Energy & Nuclear PhysicsConferences<!--HTML-->This document is devoted to the description of advances in the generation of high-quality random numbers for CORSIKA 8, which is being developed in modern C++17 and is designed to run on modern multi-thread processors and accelerators. CORSIKA 8 is a Monte Carlo simulation framework to model ultra-high energy secondary particle cascades in astroparticle physics. The aspects associated with the generation of high-quality random numbers on massively parallel platforms, like multi-core CPUs and GPUs, are reviewed and the deployment of counter-based engines using an innovative and multi-thread friendly API are described. The API is based on iterators providing a very well known access mechanism in C++, and also supports lazy evaluation. Moreover,an upgraded version of the Squares algorithm with highly efficient internal 128 as well as 256 bit counters is presented in this context. Performance measurements are provided, as well as comparisons with conventional designs are given. Finally, the integration into CORSIKA 8 is commented.oai:cds.cern.ch:27670202021 |
spellingShingle | Conferences Alves Junior, Antonio Augusto Counter-based pseudorandom number generators for CORSIKA 8 : A multi-thread friendly approach |
title | Counter-based pseudorandom number generators for CORSIKA 8 : A multi-thread friendly approach |
title_full | Counter-based pseudorandom number generators for CORSIKA 8 : A multi-thread friendly approach |
title_fullStr | Counter-based pseudorandom number generators for CORSIKA 8 : A multi-thread friendly approach |
title_full_unstemmed | Counter-based pseudorandom number generators for CORSIKA 8 : A multi-thread friendly approach |
title_short | Counter-based pseudorandom number generators for CORSIKA 8 : A multi-thread friendly approach |
title_sort | counter-based pseudorandom number generators for corsika 8 : a multi-thread friendly approach |
topic | Conferences |
url | http://cds.cern.ch/record/2767020 |
work_keys_str_mv | AT alvesjuniorantonioaugusto counterbasedpseudorandomnumbergeneratorsforcorsika8amultithreadfriendlyapproach AT alvesjuniorantonioaugusto 25thinternationalconferenceoncomputinginhighenergynuclearphysics |