Issue |
EPJ Web of Conf.
Volume 295, 2024
26th International Conference on Computing in High Energy and Nuclear Physics (CHEP 2023)
|
|
---|---|---|
Article Number | 11014 | |
Number of page(s) | 8 | |
Section | Heterogeneous Computing and Accelerators | |
DOI | https://doi.org/10.1051/epjconf/202429511014 | |
Published online | 06 May 2024 |
https://doi.org/10.1051/epjconf/202429511014
Opticks: GPU Optical Photon Simulation via NVIDIA OptiX
Institute of High Energy Physics, CAS, Beijing, China.
* Corresponding author e-mail: simon.c.blyth@gmail.com.
Published online: 6 May 2024
Opticks is an open source project that accelerates optical photon simulation by integrating GPU ray tracing, accessed via the NVIDIA OptiX 7+ API, with Geant4 based simulations. A single NVIDIA Turing GPU from the first RTX generation has been measured to provide optical photon simulation speedup factors exceeding 1500 times single threaded Geant4 with a full JUNO analytic GPU geometry automatically translated from the Geant4 geometry. Optical physics processes of scattering, absorption, scintillator reemission and boundary processes are implemented in CUDA programs based on Geant4. Wavelength-dependent material and surface properties as well as inverse cumulative distribution functions for reemission are interleaved into GPU textures providing fast interpolated property lookup or wavelength generation.
In this work we describe the near complete re-implementation required to adopt the entirely new NVIDIA OptiX 7+ API, with the implementation now directly CUDA based with OptiX usage restricted to providing intersects. The re-implementation features a modular many small header design that enables fine grained testing both on GPU and CPU together with large code reductions from CPU/GPU sharing. Enhanced modularity has enabled CSG tree generalization to support "list-nodes", similar to G4MultiUnion, that improve performance for complex CSG solids. In addition support for interference effects on boundaries with multiple thin layers, such as anti-reflection coatings and photocathodes, using CUDA compatible transfer matrix method (TMM) calculations of reflectance, transmittance and absorptance are reported.
© The Authors, published by EDP Sciences, 2024
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.