[Mlir-commits] [mlir] [MLIR][XeGPU] Allow some nd ops to have argument shapes mismatch for … (PR #120566)

Chao Chen llvmlistbot at llvm.org
Wed Jan 15 09:22:20 PST 2025


chencha3 wrote:

> Deriving from an attribute likely means the map would be essentially the same for all operations. I suspect this might be too restrictive, in presence of packing for example. Other than that, I don't see any technical problems with getting this information not from the type attribute but from somewhere else like a kernel attribute (which would probably be the same sg map but attached to a kernel?).
It is not necessary to require all operations to have a same mapping rule, since they have different semantics. But it requires each op has exactly one mapping rule.  



https://github.com/llvm/llvm-project/pull/120566


More information about the Mlir-commits mailing list