You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rfcs/proposed/task_group_dynamic_dependencies/README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,7 +157,7 @@ work's state.
157
157
We therefore think predecessors may be in any state when they are added,
158
158
as shown below:
159
159
160
-
<imgsrc="add_dependency.png"width=400>
160
+
<imgsrc="assets/add_dependency.png"width=400>
161
161
162
162
There are a number of possible options to spell a function for adding
163
163
a single predecessor. Additionally, we may also want a function to allow
@@ -209,7 +209,7 @@ subsequent recursively generated tasks) must be able to create new tasks
209
209
and then update the graph for their outer merge task to wait for the
210
210
newly created subtasks to complete.
211
211
212
-
<imgsrc="merge_sort.png"width=800>
212
+
<imgsrc="assets/merge_sort.png"width=800>
213
213
214
214
A key point of this recursive parallel algorithm is the requirement to change
215
215
the predecessors of the merge tasks. However, the merge tasks are already
@@ -260,7 +260,7 @@ to complete.
260
260
261
261
The dependency graph for this example is:
262
262
263
-
<imgsrc="three_task_graph.png"width=400>
263
+
<imgsrc="assets/three_task_graph.png"width=400>
264
264
265
265
#### Predecessors in Unknown States
266
266
@@ -290,7 +290,7 @@ regardless of state of the task it represents. Any predecessor that is already
290
290
completed when it is added as a predecessor will not delay the start of the dependent
291
291
task.
292
292
293
-
<imgsrc="unknown_states.png"width=400>
293
+
<imgsrc="assets/unknown_states.png"width=400>
294
294
295
295
#### Recursive Decomposition
296
296
@@ -343,6 +343,10 @@ into the following helper functions: `users::do_serial_sort`, `users::create_lef
343
343
344
344
This task tree matches the one shown earlier for merge-sort.
345
345
346
+
## Extended semantics proposal
347
+
348
+
The detailed proposal for the API and semantics of `task_group` extensions is presented in the [API and Semantics Details sub-RFC](extended_semantics.md).
349
+
346
350
## Open Questions in Design
347
351
348
352
Questions that should be addressed before moving into `experimental` and providing a preview feature:
0 commit comments