Skip to content
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

Test dose actor variants mt #360

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

nkrah
Copy link
Collaborator

@nkrah nkrah commented Feb 28, 2024

This PR is to test different ways to implement the DoseActor (and similar actors) in multithread mode.

It particularly, it implements different lock-free structures to store the dose per voxel deposited in the SteppingAction.
It tests an approach via thread-local vectors against structures based on std::atomic, in particular std::duquestd::double and std::vector<std::atomic>*.

The PR contains several tests relying on a helper module and a plot script.

This PR should currently not be merged. It is for testing only.

@nkrah nkrah marked this pull request as draft February 28, 2024 14:23
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.

1 participant