Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
language:langs:dflow [2023/02/11 12:04] rajit [Deterministic and non-deterministic merge] |
language:langs:dflow [2023/04/09 19:43] rajit [Clusters and Ordering] |
||
---|---|---|---|
Line 196: | Line 196: | ||
</ | </ | ||
+ | Dataflow clusters are hints to the implementation that these dataflow elements should be grouped together---for example, by having a single control that is shared by all the elements of the cluster. | ||
+ | Finally, consider the following dataflow example: | ||
+ | <code act> | ||
+ | dataflow { | ||
+ | a + b -> c; // produce an output on channel c | ||
+ | d + e -> out // sum d and e and produce the output on out | ||
+ | } | ||
+ | </ | ||
+ | Furthermore, | ||
+ | When optimizing the dataflow block, one may decide to group the control for the two dataflow elements. However, doing so would result in deadlock, because the combined dataflow block would wait for inputs to arrive on '' |