Skip to content

[UR][Offload] Handle ERRC_INVALID_BINARY #19309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: sycl
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions unified-runtime/source/adapters/offload/ur2offload.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ inline ur_result_t offloadResultToUR(ol_result_t Result) {
return UR_RESULT_ERROR_INVALID_NULL_POINTER;
case OL_ERRC_UNSUPPORTED:
return UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION;
case OL_ERRC_INVALID_BINARY:
return UR_RESULT_ERROR_INVALID_BINARY;
// Returned whenever a kernel can't be found
case OL_ERRC_NOT_FOUND:
return UR_RESULT_ERROR_INVALID_KERNEL_NAME;
Expand Down