@@ -1673,13 +1673,12 @@ def SparseTensor_CoIterateOp : SparseTensor_Op<"coiterate",
1673
1673
[AttrSizedOperandSegments,
1674
1674
SingleBlockImplicitTerminator<"sparse_tensor::YieldOp">,
1675
1675
RecursiveMemoryEffects]> {
1676
- let summary = "CoIterates over a set of sparse iteration spaces";
1676
+ let summary = "Co-iterates over a set of sparse iteration spaces";
1677
1677
let description = [{
1678
1678
The `sparse_tensor.coiterate` operation represents a loop (nest) over
1679
- the a set of iteration spaces.
1680
- The operation can have multiple regions, with each of them defining a
1681
- case to compute a result at the current iterations. The case condition
1682
- is defined solely based on the pattern of specified iterators.
1679
+ a set of iteration spaces. The operation can have multiple regions,
1680
+ with each of them defining a case to compute a result at the current iterations.
1681
+ The case condition is defined solely based on the pattern of specified iterators.
1683
1682
For example:
1684
1683
```mlir
1685
1684
%ret = sparse_tensor.coiterate (%sp1, %sp2) at(%coord) iter_args(%arg = %init)
@@ -1695,7 +1694,7 @@ def SparseTensor_CoIterateOp : SparseTensor_Op<"coiterate",
1695
1694
```
1696
1695
1697
1696
`sparse_tensor.coiterate` can also operate on loop-carried variables.
1698
- It returns the final values after loop termination.
1697
+ It returns the final value for each loop-carried variable after loop termination.
1699
1698
The initial values of the variables are passed as additional SSA operands
1700
1699
to the iterator SSA value and used coordinate SSA values.
1701
1700
Each operation region has variadic arguments for specified (used), one argument
0 commit comments