CERN Accelerating science

Published Articles
Title A vectorization approach for multifaceted solids in VecGeom
Author(s) Apostolakis, John (CERN) ; Cosmo, Gabriele (CERN) ; Gheata, Andrei (CERN) ; Gheata, Mihaela (CERN ; Bucharest, Inst. Space Science) ; Sehgal, Raman (Bhabha Atomic Res. Ctr.) ; Wenzel, Sandro (CERN)
Collaboration VecGeom team
Publication 2019
Number of pages 7
In: EPJ Web Conf. 214 (2019) 02025
In: 23rd International Conference on Computing in High Energy and Nuclear Physics, CHEP 2018, Sofia, Bulgaria, 9 - 13 Jul 2018, pp.02025
DOI 10.1051/epjconf/201921402025
Subject category Computing and Computers
Abstract VecGeom [1] is a multi-purpose geometry library targeting the optimisation of the 3D-solids’ algorithms used extensively in particle transport and tracking applications. The implementations of these algorithms are templated on the input data type and are vectorised based on the VecCore [2] abstraction library in case of multiple inputs in a SIMD vector. This provides additional performance for applications supporting a multi-particle flow, such as the GeantV [3] prototype. VecGeom allows also scalar queries for all the supported solids, an option that started being used in Geant4 [4] since the release 10.2, as optional replacement of the geometry functionality provided by the native Geant4 solids. In single particle mode, VecGeom can still issue SIMD instructions by vectorizing the geometry algorithms featuring loops over internal data structures. This approach has proven to bring very large benefits for the tessellated solids represented in terms of triangular facets. To expose more vectorization in the scalar mode we have extended the approach used for the triangular tessellations to other multifaceted shapes, such as the extruded polygon, the poly-hedra and different trapezoids. We hereby present the strategy used to vectorise the different processing phases for tessellated solids, the performance improvements compared to the previous scalar implementations for other solids using this approach, and how this is reflected in Geant4 simulations using VecGeom as geometry engine.
Copyright/License publication: © 2019-2024 The Authors (License: CC-BY-4.0)

Corresponding record in: Inspire


 Záznam vytvorený 2019-11-16, zmenený 2022-08-10


Fulltext from publisher:
Nahraj plný text
PDF