tensorflow / mlir

"Multi-Level Intermediate Representation" Compiler Infrastructure
1.73k stars 257 forks source link

[Linalg] Add a Linalg iterator permutation transformation #307

Closed tetuante closed 4 years ago

tetuante commented 4 years ago

This patch closes issue #272 We add a standalone iterator permutation transformation to Linalg. This transformation composes a permutation map with the maps in the "indexing_maps" attribute. It also permutes "iterator_types" accordingly.

Change-Id: I7c1e693b8203aeecc595a7c012e738ca1100c857

tetuante commented 4 years ago

We had some merge issues with the latest master HEAD that we tried to solve on github conflict resolution tool, but apparently it didn't work. So we pushed a working commit with our changes with all conflicts resolved.