Skip to content

Refactor AdePT into 2 libraries 8: Refactor transport flush#524

Open
SeverinDiederichs wants to merge 8 commits intoapt-sim:masterfrom
SeverinDiederichs:refactor_transport_flush
Open

Refactor AdePT into 2 libraries 8: Refactor transport flush#524
SeverinDiederichs wants to merge 8 commits intoapt-sim:masterfrom
SeverinDiederichs:refactor_transport_flush

Conversation

@SeverinDiederichs
Copy link
Collaborator

This PR belongs to the refactor of AdePT described in #516.
This PR is based on #523 and should not be reviewed before that one is merged.

This PR is a preparation to move out the event flush from the AsyncAdePTTransport. It introduces transport-side flush functions (RequestFlush, WaitForFlushProgress, IsDeviceFlushed, TakeReturnedTracks, and MarkLeakedTracksRetrieved) and refactors Flush(...) to use them internally while preserving the current behavior.
In the next step, those functions will be called from the AdePTTrackingManager.

It was verified that this PR

  • Changes physics results
  • Does not change physics results

@phsft-bot
Copy link

Can one of the admins verify this patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleaning improves code clarity, readability or other

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants