[Mlir-commits] [mlir] [MLIR] Create GPU utils library & move	distribution utils (PR #119264)
    Petr Kurapov 
    llvmlistbot at llvm.org
       
    Thu Dec 12 11:04:57 PST 2024
    
    
  
================
@@ -30,8 +27,9 @@ struct WarpDistributionPattern : OpRewritePattern<WarpExecuteOnLane0Op> {
 protected:
   /// Return a value yielded by `warpOp` which statifies the filter lamdba
   /// condition and is not dead.
-  OpOperand *getWarpResult(WarpExecuteOnLane0Op warpOp,
-                           const std::function<bool(Operation *)> &fn) const;
+  OpOperand *
+  getWarpResult(WarpExecuteOnLane0Op warpOp,
+                const llvm::function_ref<bool(Operation *)> fn) const;
----------------
kurapov-peter wrote:
thx
https://github.com/llvm/llvm-project/pull/119264
    
    
More information about the Mlir-commits
mailing list