nod-ai / iree-amd-aie

IREE plugin repository for the AMD AIE accelerator
Apache License 2.0
69 stars 30 forks source link

[LogicalObjFifoOpInterface] Add getDepth method #768

Closed jtuyls closed 2 months ago

jtuyls commented 2 months ago

Adds the getDepth method to the LogicalObjFifoOpInterface. Also updates the getTiles return type to ValueRange, which makes the method easier to implement for logical objectFifos that don't have the tiles as operands themselves. This PR is prefetching some general changes needed to introduce a new logical objectFifo op which is created from a set of buffers, which I need for moving the bulk of the StatefulTransform logic into the AMDAIE dialect.