Support Steering-Control-Based Dataflow Representation & Mapping#144
Support Steering-Control-Based Dataflow Representation & Mapping#144ShangkunLi merged 9 commits intocoredac:mainfrom
Conversation
|
Can you please draw a diagram or slide, listing the before/after IRs side-by-side, and highlight which dataflow IR correspond to which steering IR? And also briefly explain the meaning of each new op, e.g., And I didn't see |
|
|
|
|
@tancheng One problem here, when I try to map the steering-based dataflow IR, it seems the ALAP sort didn't respect the producer-consumer dependency. So I cannot map it... The code is: The ALAP level of |
Then why there is not |
Why would this happen? I think the current sorting is not pure ALAP, it is kind of mixed, right? (we can disable the test and fix it in next PR though) |
There is another case in |
I just mean in your simple example, why there is no |
Yes, the transformation order is:
|
Support Steering-Control-Based Dataflow Representation & Mapping
Support Steering-Control-Based Dataflow Representation & Mapping






In this PR, we extend our current predicate-based dataflow representation to support steering-control-based dataflow representation by:
true/false_steer,invariant,carry, andmergetransform-to-steer-controlpass to transform our predicate-based dataflow IR into the steering control mannerremove-predicated-typepass to transform the predicate data type to the source generic data typemapping_util.cppto enable map steer-control-based dataflow IRFor example, the source ir of a simple loop is:
After the transformation:
And we can map it on to the 4x4 CGRA: