[Mlir-commits] [mlir] [MLIR] Create GPU utils library & move distribution utils (PR #119264)
Jakub Kuderski
llvmlistbot at llvm.org
Thu Dec 12 10:21:36 PST 2024
================
@@ -83,7 +83,7 @@ WarpDistributionPattern::moveRegionToNewWarpOpAndAppendReturns(
OpOperand *WarpDistributionPattern::getWarpResult(
WarpExecuteOnLane0Op warpOp,
- const std::function<bool(Operation *)> &fn) const {
+ const llvm::function_ref<bool(Operation *)> fn) const {
----------------
kuhar wrote:
```suggestion
llvm::function_ref<bool(Operation *)> fn) const {
```
https://github.com/llvm/llvm-project/pull/119264
More information about the Mlir-commits
mailing list