Cargando…
A vectorization approach for multifaceted solids in VecGeom
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] abstracti...
Autores principales: | , , , , , |
---|---|
Lenguaje: | eng |
Publicado: |
2019
|
Materias: | |
Acceso en línea: | https://dx.doi.org/10.1051/epjconf/201921402025 http://cds.cern.ch/record/2701783 |
_version_ | 1780964596033519616 |
---|---|
author | Apostolakis, John Cosmo, Gabriele Gheata, Andrei Gheata, Mihaela Sehgal, Raman Wenzel, Sandro |
author_facet | Apostolakis, John Cosmo, Gabriele Gheata, Andrei Gheata, Mihaela Sehgal, Raman Wenzel, Sandro |
author_sort | Apostolakis, John |
collection | CERN |
description | 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. |
id | oai-inspirehep.net-1760566 |
institution | Organización Europea para la Investigación Nuclear |
language | eng |
publishDate | 2019 |
record_format | invenio |
spelling | oai-inspirehep.net-17605662022-08-10T12:23:28Zdoi:10.1051/epjconf/201921402025http://cds.cern.ch/record/2701783engApostolakis, JohnCosmo, GabrieleGheata, AndreiGheata, MihaelaSehgal, RamanWenzel, SandroA vectorization approach for multifaceted solids in VecGeomComputing and ComputersVecGeom [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.oai:inspirehep.net:17605662019 |
spellingShingle | Computing and Computers Apostolakis, John Cosmo, Gabriele Gheata, Andrei Gheata, Mihaela Sehgal, Raman Wenzel, Sandro A vectorization approach for multifaceted solids in VecGeom |
title | A vectorization approach for multifaceted solids in VecGeom |
title_full | A vectorization approach for multifaceted solids in VecGeom |
title_fullStr | A vectorization approach for multifaceted solids in VecGeom |
title_full_unstemmed | A vectorization approach for multifaceted solids in VecGeom |
title_short | A vectorization approach for multifaceted solids in VecGeom |
title_sort | vectorization approach for multifaceted solids in vecgeom |
topic | Computing and Computers |
url | https://dx.doi.org/10.1051/epjconf/201921402025 http://cds.cern.ch/record/2701783 |
work_keys_str_mv | AT apostolakisjohn avectorizationapproachformultifacetedsolidsinvecgeom AT cosmogabriele avectorizationapproachformultifacetedsolidsinvecgeom AT gheataandrei avectorizationapproachformultifacetedsolidsinvecgeom AT gheatamihaela avectorizationapproachformultifacetedsolidsinvecgeom AT sehgalraman avectorizationapproachformultifacetedsolidsinvecgeom AT wenzelsandro avectorizationapproachformultifacetedsolidsinvecgeom AT apostolakisjohn vectorizationapproachformultifacetedsolidsinvecgeom AT cosmogabriele vectorizationapproachformultifacetedsolidsinvecgeom AT gheataandrei vectorizationapproachformultifacetedsolidsinvecgeom AT gheatamihaela vectorizationapproachformultifacetedsolidsinvecgeom AT sehgalraman vectorizationapproachformultifacetedsolidsinvecgeom AT wenzelsandro vectorizationapproachformultifacetedsolidsinvecgeom |