Skip to content

Commit 52133ed

Browse files
committed
k-1 clarify
1 parent 6b431e3 commit 52133ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/Vector/IR/VectorOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2089,7 +2089,7 @@ def Vector_GatherOp :
20892089
result[i,j] := if mask[i,j] then base[i0, i1, i2 + index_vec[i,j]]
20902090
else pass_thru[i,j]
20912091
```
2092-
The index into `base` only varies in the innermost dimension, k-1.
2092+
The index into `base` only varies in the innermost ((k-1)-th) dimension.
20932093

20942094
If a mask bit is set and the corresponding index is out-of-bounds for the
20952095
given base, the behavior is undefined. If a mask bit is not set, the value

0 commit comments

Comments
 (0)