| FazBrowse Wikipedia Viewer | Main Page | | |
| Viewing: https://en.wikipedia.org/wiki/Binary_Modular_Dataflow_Machine |
| Binary Modular Dataflow Machine | |
|---|---|
| (setqa(foo0i))#a=foo0(i);
(setqb(foo1(+i1)))#b=foo1(i+1);
(setqb(++b))#b++;
(outf"a = %d\n"a)#printf("a = %d\n",a);
(outf"b = %d\n"b)#printf("b = %d\n",b);
The two first statements are independent, so a dataflow engine of BMDFM can run them on different processors or processor's cores. The two last statements can also run in parallel but only after "a" and "b" are computed. The dataflow engine recognizes dependencies automatically because of its ability to build a dataflow graph dynamically at runtime. Additionally, the dataflow engine correctly orders the output stream to output the results sequentially. Thus even after the out-of-order processing the results will appear in a natural way. Suppose that above code fragment now is nested in a loop: "urn:nbn:de:bvb:91-diss20060316-1748151609". URN NBN Resolver for Germany and Switzerland. March 22, 2006.External linksedit |