Skip to content

remove rng state from split kernels #404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2025

Conversation

SeverinDiederichs
Copy link
Collaborator

In the monolithic kernel a branched RNG state is generated at the beginning before all the threads start diverging.

This was still done in the current split kernel approach and then stored inside the track. However, this is not needed, as the branched RNG state should only be generated in the interaction kernels where it is really needed.

This PR accelerates 64 ttbar events in CMS2018 with 16 threads from 160s to 145s.

@phsft-bot
Copy link

Can one of the admins verify this patch?

@agheata agheata merged commit 1145661 into apt-sim:master Jun 27, 2025
3 checks passed
@SeverinDiederichs SeverinDiederichs deleted the remove_rng_for_split branch June 30, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants