Skip to content

Conversation

@SeverinDiederichs
Copy link
Collaborator

This PR cleans the passing of arguments to the async kernels.
Before, multiple queues and the "secondaries" were passed, which included the queues themselves. Then, slots were taken directly and passed to queues directly etc.

This PR unifies the usage of the queues, now only the TrackManager needs to be passed, which holds the SpeciesTrackManager, which was the previous ParticleGenerator. It is extended by the few missing queues, and has new function to e.g., directly copy a track of a corresponding slot to the leaks, which simplifies the kernels.

This simplifies the arguments of kernel launches as well.

This PR is in preparation for the Woodcock tracking.

@SeverinDiederichs SeverinDiederichs added the cleaning improves code clarity, readability or other label Nov 5, 2025
@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