[Mlir-commits] [mlir] [mlir][gpu] Add patterns to break down subgroup reduce (PR #76271)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Dec 22 14:11:38 PST 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 52b7045fbb70571e09c0ad3be7bd3f0c1acccffa fbc5c11481a3cdd6013dd717a43ca6c785aeb6b3 -- mlir/lib/Dialect/GPU/Transforms/SubgroupReduceLowering.cpp mlir/include/mlir/Dialect/GPU/Transforms/Passes.h mlir/test/lib/Dialect/GPU/TestGpuRewrite.cpp mlir/tools/mlir-opt/mlir-opt.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/GPU/Transforms/SubgroupReduceLowering.cpp b/mlir/lib/Dialect/GPU/Transforms/SubgroupReduceLowering.cpp
index 07700cfa3c..de17a05eb1 100644
--- a/mlir/lib/Dialect/GPU/Transforms/SubgroupReduceLowering.cpp
+++ b/mlir/lib/Dialect/GPU/Transforms/SubgroupReduceLowering.cpp
@@ -103,7 +103,7 @@ struct BreakDownSubgroupReduce final : OpRewritePattern<gpu::SubgroupReduceOp> {
return success();
}
- private:
+private:
unsigned maxShuffleBitwidth = 0;
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/76271
More information about the Mlir-commits
mailing list