[Mlir-commits] [mlir] [MLIR][XeGPU] Scattered ops sg-to-wi distribution (PR #154949)

Artem Kroviakov llvmlistbot at llvm.org
Mon Aug 25 09:50:26 PDT 2025


akroviakov wrote:

> even receive it as an argument from the runtime." what does this mean? a func argument?

Cases where sg distribution has no access to `%offsets = arith.constant dense<0> : vector<16xindex>`.
At the SG level of a scattered op, we only see a vector of `n` offsets. We cannot assume (unless otherwise stated in the pass restrictions) whether its producer is distributable or not. Without this assumption, how can we rely on <1xindex>?

I agree that extracting at idx 0 would work if the input is already distributed, but we go bottom up, and we cannot assume that it will be distributed.

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


More information about the Mlir-commits mailing list