Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the asynchronous mode components into AdePT (#325)
This PR integrates the asynchronous mode components from `AsyncExample` into AdePT as a new backend that can be activated via a compile-time option. In order to compile either backend into the final library `AdePTTrackingManager.hh` includes either `AdePTTransport.h` or `AsyncAdePTTransport.hh`, which will pull in the gcc-compiled parts of the code. `AdePTTrackingManager.cu` includes `AdePTTransport.cuh` or `AsyncAdePTTransport.cuh` for the nvcc-compiled side. This is done via the cmake option `-DASYNC_MODE=[ON|OFF]` There are no changes to the current synchronous backend, and as expected validation shows no difference in performance or results compared to the current `master`. For the asynchronous backend, there is no performance difference with the current standalone example, and the validation shows good agreement with Geant4. <img src="https://github.com/user-attachments/assets/a088f1d1-cad6-4669-b293-817561db8e6c" width="70%"/> --------- Co-authored-by: SeverinDiederichs <[email protected]>
- Loading branch information