-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split propagate function into client components
The current detray code exposes primarily a `propagate` method, but this has an unbounded loop in it. Because callers might want to implement custom load balancing on the stepping process, the current approach may be too coarse. This commit retains the existing `propagate` method but also adds three new component methods, `propagate_init`, `propagate_step`, and `propagate_is_complete` so that client code can more granularly implement their own, load-balanced propagation.
- Loading branch information
1 parent
0857bad
commit 72feb61
Showing
1 changed file
with
70 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters