Skip to content

Commit 3de4212

Browse files
Address comments
1 parent d62f395 commit 3de4212

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
@@ -64,8 +64,8 @@ struct SCFTilingOptions {
6464
numThreadsComputationFunction = std::move(fun);
6565
return *this;
6666
}
67-
/// Convenience function to set the `tileSizeComputationFunction` to a
68-
/// function that computes tile sizes at the point they are needed.
67+
/// Convenience function to set the `numThreadsComputationFunction` to a
68+
/// function that computes num threads at the point they are needed.
6969
SCFTilingOptions &setNumThreads(ArrayRef<OpFoldResult> numThreads);
7070

7171
/// 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
@@ -86,7 +86,7 @@ verifyTileSizeOptions(RewriterBase &rewriter, Location loc,
8686
if (!options.interchangeVector.empty()) {
8787
if (!isPermutationVector(options.interchangeVector)) {
8888
return rewriter.notifyMatchFailure(
89-
loc, "invalid intechange vector, not a permutation of the entire "
89+
loc, "invalid interchange vector, not a permutation of the entire "
9090
"iteration space");
9191
}
9292
}

0 commit comments

Comments
 (0)