Blaok / soda

Stencil with Optimized Dataflow Architecture
MIT License
12 stars 4 forks source link

feat: support iteration generation #12

Closed Blaok closed 6 years ago

Blaok commented 6 years ago

It'll be convenient to support generating iterative applications automatically. Currently iterative applications have to be manually fused/hard coded.

Blaok commented 6 years ago

Some specific issues:

Blaok commented 6 years ago

To better support iterative semantic, an iterate: INT keyword shall be added in the grammar, which means the whole pipeline, from input to output, shall be repeated INT times.

Iterate keyword shall trigger border preserving automatically. Iterate keyword is mandatory. Border preserving need to be trigger by the border keyword border: preserve. Non-iterative algorithm shall specify iterate: 1.

Blaok commented 6 years ago

Currently only support preserve input to output. Iterative algorithm will preserve border from input to output in each iteration.

Blaok commented 6 years ago

Solved completely by #19 (support tiled iterative algorithms).