Skip to content

Commit a44caee

Browse files
committed
[UR][Offload] Handle ERRC_INVALID_BINARY
1 parent a960c7f commit a44caee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

unified-runtime/source/adapters/offload/ur2offload.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ inline ur_result_t offloadResultToUR(ol_result_t Result) {
2424
return UR_RESULT_ERROR_INVALID_NULL_POINTER;
2525
case OL_ERRC_UNSUPPORTED:
2626
return UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION;
27+
case OL_ERRC_INVALID_BINARY:
28+
return UR_RESULT_ERROR_INVALID_BINARY;
2729
// Returned whenever a kernel can't be found
2830
case OL_ERRC_NOT_FOUND:
2931
return UR_RESULT_ERROR_INVALID_KERNEL_NAME;

0 commit comments

Comments
 (0)