Learn · CERN

Talk12 min

Counter-based pseudorandom number generators for CORSIKA 8 : A multi-thread friendly approach

Antonio Augusto Alves Junior · CERN

Watch At CERN

About

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

0:00:00 Slide 1

0:01:12 Slide 2

0:02:24 Slide 3

0:03:35 Slide 4

0:04:47 Slide 5

0:05:58 Slide 6

0:07:10 Slide 7

0:08:21 Slide 8

0:09:33 Slide 9

0:10:44 Slide 10

0:11:56 Slide 11

The talk

  1. Counter-based pseudorandom number generators for CORSIKA 8 : A multi-thread friendly approach 2021-05-18 · 12 min · CERN's player

Credits and licence

Institution
CERN
Department
Conferences
Speaker
Antonio Augusto Alves Junior
Year
2021
Language
English
Subjects
Physics, Computer science, Earth and environment
Source
CERN
Licence
CERN, as CERN states it. CERN's terms
Attribution
© CERN. CERN provides its audiovisual media free of charge for educational and informational use, credited to CERN; this lecture is shown in CERN's own player.
Who can watch
CERN gives no rating. Invisible Network shows it to Tweens profiles and older, judged from what the source says about it. How courses are placed