[Mlir-commits] [mlir] [MLIR][XeGPU] Add anchor_layout and update propagation to honor user-specified layouts (PR #169267)
Artem Kroviakov
llvmlistbot at llvm.org
Wed Nov 26 03:05:27 PST 2025
================
@@ -664,27 +730,39 @@ def XeGPU_PrefetchOp : XeGPU_Op<"prefetch", []> {
As compared to prefetch_nd, which works on non-scattered TensorDesc,
it works on scattered TensorDesc instead.
+ This operation serves as an anchor through which users assign a layout attribute
+ to govern computation distribution.
+
Arguments:
+
- `source`: represents the memory region to be loaded from, which can be either a
tensor_desc or a 1D memref or pointer (ui64, ui32, i64 or i32).
In case of tensor_desc, offsets come from the producer create_tdesc op.
- tensor_desc cannot be used in SIMT mode.
+ tensor_desc cannot be used at lane level.
+
- `offsets`: represents offsets from source. required if `source` in not a TensorDescType.
----------------
akroviakov wrote:
```suggestion
- `offsets`: represents offsets from source. required if `source` is not a TensorDescType.
```
https://github.com/llvm/llvm-project/pull/169267
More information about the Mlir-commits
mailing list