Skip to content

Mark a track's survival more explicit #228

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
Oct 11, 2022

Conversation

bernhardmgruber
Copy link
Contributor

@bernhardmgruber bernhardmgruber commented Oct 7, 2022

Adds a lambda function survive() which pushes the track back into the active queue.

Running example19 -particles 10000 -batch 5000 -gdml_file ../examples/Example14/macros/testEm3.gdml 5x on V100:

before:
Mean: 4.00011
Stddev: 0.00030375

after:
Mean: 4.01492
Stddev: 0.000460478

Output is identical. The slight slowdown is surprising, but it is by far compensated by the subsequent optimizations based on this PR, See #225 and #229.

Adds a lambda function survive() which pushes the track back into the active queue.
@bernhardmgruber bernhardmgruber marked this pull request as ready for review October 7, 2022 09:44
@phsft-bot
Copy link

Can one of the admins verify this patch?

@bernhardmgruber
Copy link
Contributor Author

One of the CI runs is failing with:

+ /usr/bin/nvidia-smi
Failed to initialize NVML: Driver/library version mismatch

I don't have experience with the CI. Can someone please have a look and fix it? Thx!

@hahnjo hahnjo merged commit 1ba5667 into apt-sim:master Oct 11, 2022
@bernhardmgruber bernhardmgruber deleted the survival_lambda branch October 11, 2022 07:36
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