11–15 Mar 2024
Charles B. Wang Center, Stony Brook University
US/Eastern timezone

Towards a framework for GPU event generation

13 Mar 2024, 14:30
20m
Lecture Hall 1 ( Charles B. Wang Center, Stony Brook University )

Lecture Hall 1

Charles B. Wang Center, Stony Brook University

100 Circle Rd, Stony Brook, NY 11794
Oral Track 3: Computations in Theoretical Physics: Techniques and Methods Track 3: Computations in Theoretical Physics: Techniques and Methods

Speaker

Stefano Carrazza (CERN)

Description

We demonstrate some advantages of a top-bottom approach in the development of hardware-accelerated code by presenting the PDFFlow-VegasFlow-MadFlow software suite. We start with an autogenerated hardware-agnostic Monte Carlo generator, which is parallelized in the event axis. This allow us to take advantage of the parallelizable nature of Monte Carlo integrals even if we do not have control of the hardware in which the computation will run (i.e., an external cluster). The generic nature of such an implementation can introduce spurious bottlenecks or overheads. Fortunately, said bottlenecks are usually restricted to a subset of operations and not to the whole vectorized program. By identifying the more critical parts of the calculation one can get very efficient code and at the same time minimize the amount of hardware-specific code that needs to be written. We show benchmarks demonstrating how simply reducing the memory footprint of the calculation can increase the performance of a 2→4 process. Finally, we present summary results about the performance achieved so far for PDF query on GPU and Monte Carlo integration.

References

https://arxiv.org/abs/2211.14056
https://arxiv.org/abs/2106.10279
https://arxiv.org/abs/2012.08221
https://arxiv.org/abs/2010.09341

Significance

In view of recent interested from the theory community in hardware accelerators, our goal is to present a development paradigm which could accelerate in the introduction of GPUs for MC simulation.

Primary authors

Presentation materials