[mlir][gpu] Update descriptions format of GPU ops(NFC) (#141395)

This commit is contained in:
Longsheng Mou 2025-05-29 20:07:57 +08:00 committed by GitHub
parent b359422eeb
commit ba75febd4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1092,7 +1092,7 @@ def GPU_YieldOp : GPU_Op<"yield", [Pure, ReturnLike, Terminator]>,
Arguments<(ins Variadic<AnyType>:$values)> {
let summary = "GPU yield operation";
let description = [{
gpu.yield` is a special terminator operation for blocks inside regions
`gpu.yield` is a special terminator operation for blocks inside regions
in gpu ops. It returns values to the immediately enclosing gpu op.
Example:
@ -1367,7 +1367,7 @@ def GPU_ShuffleOp : GPU_Op<
def GPU_BarrierOp : GPU_Op<"barrier"> {
let summary = "Synchronizes all work items of a workgroup.";
let description = [{
The "barrier" op synchronizes all work items of a workgroup. It is used
The `barrier` op synchronizes all work items of a workgroup. It is used
to coordinate communication between the work items of the workgroup.
```mlir