Skip to content
Failed

Changes

Summary

  1. Test offload examples in each Geant4 threading model (details)
  2. Clarify implementations of physics table functions (details)
Commit 69ea3c10093410d1d4eae4a965076f2ff62e6426 by ben.morgan
Test offload examples in each Geant4 threading model

For each offload example, add a test that runs it with each of Geant4's
threading types:

- Serial
- MT (standard C++ threads)
- Tasking (PTL-based tasks+threadpool)

Only enable the latter two if the found Geant4 supports them.
The file was modifiedexample/accel/CMakeLists.txt (diff)
Commit 1cc104cd1402bcf56ebe2720323b489862f5c843 by ben.morgan
Clarify implementations of physics table functions

- Use contracts on pointers that require deref
- Follow GeantImporter implementation for loop over processes

A cleaner range-based for over processes isn't possible due to
G4ProcessVector not providing a directly compatible interface.
The file was modifiedsrc/accel/TrackingManagerOffload.cc (diff)