Skip to content

Commit 15e7232

Browse files
committed
Add MemRead and fix typo
1 parent 4b69517 commit 15e7232

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -788,10 +788,10 @@ def XeGPU_DpasOp : XeGPU_Op<"dpas", [Pure, AllElementTypesMatch<["lhs", "rhs"]>]
788788
}
789789

790790
def XeGPU_AtomicRMWOp: XeGPU_Op<"atomic_rmw", [Pure,
791-
MemoryEffects<[MemWrite]>,
791+
MemoryEffects<[MemRead, MemWrite]>,
792792
AllElementTypesMatch<["tensorDesc", "value", "result"]>,
793793
AllShapesMatch<["tensorDesc", "value", "result"]>]> {
794-
let summary = "Atomic ready-modify-write operation on the TensorDesc. ";
794+
let summary = "Atomic read-modify-write operation on the TensorDesc. ";
795795

796796
let description = [{
797797
The `xegpu.atomic_rmw` operation provides a way to perform a read-modify-write

0 commit comments

Comments
 (0)