Learn · CERN

Talk12 min

A Portable Implementation of RANLUX++

Jonas Hahnfeld · CERN

Watch At CERN

About

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

0:00:00 Slide 1

0:01:11 Slide 2

0:02:22 Slide 3

0:03:33 Slide 4

0:04:43 Slide 5

0:05:54 Slide 6

0:07:05 Slide 7

0:08:15 Slide 8

0:09:26 Slide 9

0:10:37 Slide 10

0:11:48 Slide 11

The talk

  1. A Portable Implementation of RANLUX++ 2021-05-18 · 12 min · CERN's player

Credits and licence

Institution
CERN
Department
Conferences
Speaker
Jonas Hahnfeld
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