Also support creation of G4VFastSimulationModel by GPUOffloadInterface
drbenmorgan opened this issue · comments
Ben Morgan commented
Even if only temporarily, we should add a MakeGPUFastSimulationModel
or similar to GPUOffloadInterface
. The custom tracking manager isn't available until Geant4 11.0, and some experiments still use versions prior to that. As we have implementations in both AdePT and Celeritas, we should be able to support this fairly easily.
Ben Morgan commented
... but having said that, for Geant4 prior to 11.1 there's no Flush
method for G4VFastSimulationModel
😆. In Celeritas, that was handled by the EndOfEventAction
also flushing the LocalTransporter
so it is supportable in earlier versions, albeit with a coupling to that action.