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

Artem Kroviakov llvmlistbot at llvm.org
Mon Aug 25 09:31:06 PDT 2025


akroviakov wrote:

> Before.
> ```
> %offsets = arith.constant dense<0> : vector<16xindex>
> // insert any value to this vector (random, linear does not matter)
> %v = xegpu.load %base [%offset] : i64, vector<16xindex> -> vector<16xf16>
> ```

But should we care about the vector producer? Arith distribution is there, but there are more ways to create a vector, we could even receive it as an argument from the runtime. Do I miss the op or distribution logic constraint that the offsets producer must be retrievable?

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


More information about the Mlir-commits mailing list