[Mlir-commits] [mlir] ce857d3 - [mlir][async] Remove unused variable. NFC.
Benjamin Kramer
llvmlistbot at llvm.org
Thu Jul 1 04:08:27 PDT 2021
Author: Benjamin Kramer
Date: 2021-07-01T12:24:55+02:00
New Revision: ce857d3cfd42dc7056505e0f45390ef703ff0bfe
URL: https://github.com/llvm/llvm-project/commit/ce857d3cfd42dc7056505e0f45390ef703ff0bfe
DIFF: https://github.com/llvm/llvm-project/commit/ce857d3cfd42dc7056505e0f45390ef703ff0bfe.diff
LOG: [mlir][async] Remove unused variable. NFC.
Added:
Modified:
mlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp b/mlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
index 373ee8b01dca9..521180cbd4b9c 100644
--- a/mlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
+++ b/mlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
@@ -112,9 +112,6 @@ struct AsyncParallelForRewrite : public OpRewritePattern<scf::ParallelOp> {
PatternRewriter &rewriter) const override;
private:
- // The maximum number of tasks per worker thread when sharding parallel op.
- static constexpr int32_t kMaxOversharding = 4;
-
bool asyncDispatch;
int32_t numWorkerThreads;
int32_t targetBlockSize;
More information about the Mlir-commits
mailing list