-
Notifications
You must be signed in to change notification settings - Fork 18
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
Move completed-epoch handling out of task_manager #299
Conversation
Check-perf-impact results: (a2d9681a083c32e2b46fe0fbb689f304) Relative execution time per category: (mean of relative medians)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clang-Tidy
found issue(s) with the introduced code (1/5)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clang-Tidy
found issue(s) with the introduced code (2/5)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clang-Tidy
found issue(s) with the introduced code (3/5)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clang-Tidy
found issue(s) with the introduced code (4/5)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clang-Tidy
found issue(s) with the introduced code (5/5)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clang-Tidy
found issue(s) with the introduced code (1/1)
Pull Request Test Coverage Report for Build 11839608873Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it, LGTM!
c7c1bd4
to
e0a6453
Compare
Check-perf-impact results: (a42f16ae449d806ee4af2ef57be62d77) ❓ No new benchmark data submitted. ❓ |
Replaces `epoch_monitor` with an atomic counter in `runtime` for the purpose of TDAG pruning, and re-uses the fence promise mechanism for suspending the main thread when waiting on an epoch task. This consolidates the "previous horizon is applied as an epoch" logic, which was previously duplicated, in a single location in `runtime`. Furthermore, `task_graph` ownership is moved out of `task_manager`, making it a single-threaded graph generator like the others. A rename to `task_graph_generator` should follow eventually but was omitted here to keep diff noise low.
e0a6453
to
9b596a4
Compare
Check-perf-impact results: (bb30e23d8de4cfa5e0bbdb911e0279cc) Relative execution time per category: (mean of relative medians)
|
Replaces
epoch_monitor
with an atomic counter inruntime
for the purpose of TDAG pruning, and re-uses the fence promise mechanism for suspending the main thread when waiting on an epoch task.This consolidates the "previous horizon is applied as an epoch" logic, which was previously duplicated, in a single location in
runtime
.Furthermore,
task_graph
ownership is moved out oftask_manager
, making it a single-threaded graph generator like the others. A rename totask_graph_generator
should follow eventually but was omitted here to keep diff noise low.