From 98757402e67f059ced455ba251e78b13fe913102 Mon Sep 17 00:00:00 2001 From: Ross Brunton Date: Fri, 4 Jul 2025 16:15:38 +0100 Subject: [PATCH] [UR][Offload] Handle `ERRC_INVALID_BINARY` --- unified-runtime/source/adapters/offload/ur2offload.hpp | 2 ++ 1 file changed, 2 insertions(+) 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;