[Mlir-commits] [mlir] [MLIR][XeGPU] Update XeGPU create_tdesc, update_offset, load, store and prefetch. (PR #154653)

Adam Siemieniuk llvmlistbot at llvm.org
Thu Aug 21 02:09:09 PDT 2025


================
@@ -670,8 +682,19 @@ def XeGPU_LoadGatherOp : XeGPU_Op<"load", [MemoryEffects<[MemRead]>]> {
     The mask operand masks out memory access so that it is safe to pass out-of-boundary
     addresses/offsets as long as they are masked. It applies to slots of SIMD lanes.
 
-    In SIMT mode, the result vector represents the data to be loaded by each work-item.
-    Each work-item recieves a `chunk_size` number of elements.
+    In SIMT mode, the result is a 1D vector that represents the data to be loaded by
+    each work-item. If size is not 1, size should be equal to the chunk size,
+
+    `source` represents the memory region to be loaded from, which can be either a
----------------
adam-smnk wrote:

For consistency with other descriptions, I'd format it as:
```
Arguments:
 - `source`: ...
 - `offsets`: ...
```

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


More information about the Mlir-commits mailing list