diff --git a/unified-runtime/source/adapters/offload/ur2offload.hpp b/unified-runtime/source/adapters/offload/ur2offload.hpp index e944ac721e444..201b6e3b5670e 100644 --- a/unified-runtime/source/adapters/offload/ur2offload.hpp +++ b/unified-runtime/source/adapters/offload/ur2offload.hpp @@ -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;