Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Vivian Zhang <[email protected]>
  • Loading branch information
jtuyls and yzhang93 authored Feb 20, 2025
1 parent 2db6540 commit 03bb8a4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,13 @@ static FailureOr<IREE::Codegen::UKernelOpInterface> matchFillDAGForUKernel(
}
auto targetAttr = IREE::HAL::ExecutableTargetAttr::lookup(op);
if (!hasUkernel(targetAttr, ukernelName)) {
return rewriter.notifyMatchFailure(op, "doesn't have a target attribute");
return rewriter.notifyMatchFailure(op, "no ukernel found with name: " + ukernelName);
}

FailureOr<std::string> maybeUkernelObjectName =
fetchUkernelObjectName(targetAttr);
if (failed(maybeUkernelObjectName)) {
return rewriter.notifyMatchFailure(op, "doesn't have a target attribute");
return rewriter.notifyMatchFailure(op, "no ukernel object name found for the target");
}

Value input = fillOp.getDpsInputOperand(0)->get();
Expand Down

0 comments on commit 03bb8a4

Please sign in to comment.