Skip to content

Commit 4ff5d3f

Browse files
CoTinkersvkeerthy
authored andcommitted
[mlir][gpu] Update descriptions format of GPU ops(NFC) (#141395)
1 parent af1934e commit 4ff5d3f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlir/include/mlir/Dialect/GPU/IR/GPUOps.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def GPU_ClusterBlockIdOp : GPU_IndexOp<"cluster_block_id"> {
146146
```
147147

148148
If `upper_bound` is set, then executing (a lowering of) this operation in an
149-
environment where the number of thread blocks per cluster along `dimension`
149+
environment where the number of thread blocks per cluster along `dimension`
150150
is greater than `upper_bound` causes undefined behavior.
151151

152152
There is an implicit upper bound of `kMaxClusterDim` (currently 8).
@@ -1064,7 +1064,7 @@ def GPU_ReturnOp : GPU_Op<"return", [HasParent<"GPUFuncOp">, Pure,
10641064
Arguments<(ins Variadic<AnyType>:$operands)>, Results<(outs)> {
10651065
let summary = "Terminator for GPU functions.";
10661066
let description = [{
1067-
A terminator operation for regions that appear in the body of `gpu.func`
1067+
A terminator operation for regions that appear in the body of `gpu.func`
10681068
functions. The operands to the `gpu.return` are the result values returned
10691069
by an invocation of the `gpu.func`.
10701070
}];
@@ -1092,7 +1092,7 @@ def GPU_YieldOp : GPU_Op<"yield", [Pure, ReturnLike, Terminator]>,
10921092
Arguments<(ins Variadic<AnyType>:$values)> {
10931093
let summary = "GPU yield operation";
10941094
let description = [{
1095-
gpu.yield` is a special terminator operation for blocks inside regions
1095+
`gpu.yield` is a special terminator operation for blocks inside regions
10961096
in gpu ops. It returns values to the immediately enclosing gpu op.
10971097

10981098
Example:
@@ -1367,7 +1367,7 @@ def GPU_ShuffleOp : GPU_Op<
13671367
def GPU_BarrierOp : GPU_Op<"barrier"> {
13681368
let summary = "Synchronizes all work items of a workgroup.";
13691369
let description = [{
1370-
The "barrier" op synchronizes all work items of a workgroup. It is used
1370+
The `barrier` op synchronizes all work items of a workgroup. It is used
13711371
to coordinate communication between the work items of the workgroup.
13721372

13731373
```mlir

0 commit comments

Comments
 (0)