Skip to content

Commit

Permalink
[mlir][vector] fix typo in vector unroll transform
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherbate committed Jun 6, 2022
1 parent 43ef17c commit a392a39
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -78,7 +78,7 @@ class DecomposeShapeIterator {
// dimensions based on `order`.
SmallVector<int64_t> delinearize(int64_t index) const {
// Traverse in for loop order (largest stride to smallest stride).
SmallVector<int64_t, 4> vectorOffsets(sliceStrides.size());
SmallVector<int64_t> vectorOffsets(sliceStrides.size());
for (auto idx : loopOrder) {
vectorOffsets[idx] = index / sliceStrides[idx];
index %= sliceStrides[idx];
Expand Down

0 comments on commit a392a39

Please sign in to comment.