If I understood the original logic better I could probably provide a less clunky fix. This PR gets the memspace from the row that the buffer is on. It assumes row 1 is memory tile, and rows 2+ are AIE cores.
Last comment: the test updated makes more sense now, before it was doing math on memspace 1 memrefs.
This patch (along with a modification to the tiling on main) enables int32, single core convolution to compile. It fixes the error
I guess this is another fix for what was probably undone in: https://github.com/nod-ai/iree-amd-aie/pull/692
If I understood the original logic better I could probably provide a less clunky fix. This PR gets the memspace from the row that the buffer is on. It assumes row 1 is memory tile, and rows 2+ are AIE cores.
Last comment: the test updated makes more sense now, before it was doing math on memspace 1 memrefs.