caseyagraff / dagma

A lightweight pipelining tool for computation.
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Improved scheduling for chained foreach nodes #24

Open caseyagraff opened 4 years ago

caseyagraff commented 4 years ago

If there is a foreach chain, then you can schedule each step of the chain consecutively so that the cache from the non-final nodes in the chain can be discarded.

If, instead, we do all first steps across the foreach then we must have memory allocated for caching all of them.