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 4, 2023
1 parent a349d21 commit 7c98f1c
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 7c98f1c

Please sign in to comment.