iree-org / iree

A retargetable MLIR-based machine learning compiler and runtime toolkit.

Home Page:http://iree.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move affinity interfaces to their own dialect.

benvanik opened this issue · comments

The interfaces live in stream and the stream.affinity dialect attr is used to indicate affinity. This is unfortunate as it means that stream is pulled into flow and other frontend pipelines when it's only needed for the interfaces and attr. A dialect that can cut across input, abi, global opt, flow, and stream would reduce the tangle.

No clue what to call it, though. Perhaps Placement?