Skip to content

Commit 1857e5c

Browse files
Address comments
1 parent 8f500bd commit 1857e5c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mlir/include/mlir/Dialect/SCF/Transforms/TileUsingInterface.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ struct SCFTilingOptions {
6565
numThreadsComputationFunction = std::move(fun);
6666
return *this;
6767
}
68-
/// Convenience function to set the `tileSizeComputationFunction` to a
69-
/// function that computes tile sizes at the point they are needed.
68+
/// Convenience function to set the `numThreadsComputationFunction` to a
69+
/// function that computes num threads at the point they are needed.
7070
SCFTilingOptions &setNumThreads(ArrayRef<OpFoldResult> numThreads);
7171

7272
/// The interchange vector to reorder the tiled loops.

mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ verifyTileSizeOptions(RewriterBase &rewriter, Location loc,
8787
if (!options.interchangeVector.empty()) {
8888
if (!isPermutationVector(options.interchangeVector)) {
8989
return rewriter.notifyMatchFailure(
90-
loc, "invalid intechange vector, not a permutation of the entire "
90+
loc, "invalid interchange vector, not a permutation of the entire "
9191
"iteration space");
9292
}
9393
}

0 commit comments

Comments
 (0)