-
Notifications
You must be signed in to change notification settings - Fork 5
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
Parallelise resampling #97
Comments
Thoughs and possible solutions
|
PR #95 has implemented some of the above ideas,
This has Improved the scaling somewhat |
However, the State Copy is still a serial operation and will prevent scaling much further. It must be fully parallelised to progress further. |
#111 implements a two-pass parallel algorithm and is looking promising |
Resampling is parallelised by #111 |
As we scale up, resampling is becoming the bottleneck. Here is an example of time spent scaling from 1 to 64 cores.
Calculating which particles get resampled (the indices to the particle array) is not the problem, but rather copying the resampled particle states back to the particle array. Here is an example from #95
The text was updated successfully, but these errors were encountered: