In this proceedings we demonstrate some advantages of a top-bottom approach in the development of hardware-accelerated code. 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 don't 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.

Extending MadFlow: device-specific optimization / S. Carrazza, J.M. Cruz-Martinez, G. Palazzo. - In: POS PROCEEDINGS OF SCIENCE. - ISSN 1824-8039. - 414:(2022), pp. 207.1-207.6. (Intervento presentato al 41. convegno ICHEP 2022 tenutosi a Bologna nel 2022) [10.22323/1.414.0207].

Extending MadFlow: device-specific optimization

S. Carrazza;
2022

Abstract

In this proceedings we demonstrate some advantages of a top-bottom approach in the development of hardware-accelerated code. 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 don't 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.
English
Physics, Computational Physics; Physics, Computational Physics
Settore FIS/02 - Fisica Teorica, Modelli e Metodi Matematici
Intervento a convegno
Esperti anonimi
Pubblicazione scientifica
2022
414
207
1
6
6
Pubblicato
Periodico con rilevanza internazionale
ICHEP 2022
Bologna
2022
41
Convegno internazionale
Intervento inviato
arxiv
Aderisco
info:eu-repo/semantics/article
Extending MadFlow: device-specific optimization / S. Carrazza, J.M. Cruz-Martinez, G. Palazzo. - In: POS PROCEEDINGS OF SCIENCE. - ISSN 1824-8039. - 414:(2022), pp. 207.1-207.6. (Intervento presentato al 41. convegno ICHEP 2022 tenutosi a Bologna nel 2022) [10.22323/1.414.0207].
open
Prodotti della ricerca::01 - Articolo su periodico
3
262
Article (author)
Periodico senza Impact Factor
S. Carrazza, J.M. Cruz-Martinez, G. Palazzo
File in questo prodotto:
File Dimensione Formato  
2211.14056.pdf

accesso aperto

Tipologia: Pre-print (manoscritto inviato all'editore)
Dimensione 383.85 kB
Formato Adobe PDF
383.85 kB Adobe PDF Visualizza/Apri
ICHEP2022_207.pdf

accesso aperto

Tipologia: Publisher's version/PDF
Dimensione 341.25 kB
Formato Adobe PDF
341.25 kB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/1001373
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? ND
  • OpenAlex ND
social impact