Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
clang error
"(aka 'long long') must match previous return type 'long' when lambda expression has unspecified explicit return typ"
  • Loading branch information
wkpark committed Dec 1, 2023
1 parent 9ae1baf commit 5f07810
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -709,8 +709,8 @@ void mlir::triton::asyncLaunchDots(scf::ForOp forOp) {
lastOp = op;
op = op->getBlock()->getParentOp();
}
return std::distance(lastOp->getBlock()->getParent()->begin(),
lastOp->getBlock()->getIterator());
return (long)std::distance(lastOp->getBlock()->getParent()->begin(),
lastOp->getBlock()->getIterator());
};
/// XXX(Keren): Clean up the following duplicate code with checkDotOp
/// dots to be pipelined
Expand Down

0 comments on commit 5f07810

Please sign in to comment.