From 423e69da31182e4a6c40c1f5934773546668f43c Mon Sep 17 00:00:00 2001 From: Aaron Greig Date: Fri, 29 Dec 2023 11:02:57 +0000 Subject: [PATCH] Test UR PR 1136 --- sycl/plugins/unified_runtime/CMakeLists.txt | 9 ++------- sycl/plugins/unified_runtime/pi2ur.hpp | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/sycl/plugins/unified_runtime/CMakeLists.txt b/sycl/plugins/unified_runtime/CMakeLists.txt index 4d789c3a72669..6fece7ada4962 100644 --- a/sycl/plugins/unified_runtime/CMakeLists.txt +++ b/sycl/plugins/unified_runtime/CMakeLists.txt @@ -56,13 +56,8 @@ endif() if(SYCL_PI_UR_USE_FETCH_CONTENT) include(FetchContent) - set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git") - # commit 8c2d93dd12856dc699cb5b38fe3bd91bd6298a86 (HEAD -> main, gitlab-orion-origin/main) - # Author: Weronika Lewandowska - # Date: Fri Dec 22 10:11:47 2023 +0100 - # Merge pull request #1207 from PietroGhg/pietro/remove_event_hpp - # [NATIVECPU] Remove event.hpp inclusion - set(UNIFIED_RUNTIME_TAG 8c2d93dd12856dc699cb5b38fe3bd91bd6298a86) + set(UNIFIED_RUNTIME_REPO "https://github.com/aarongreig/unified-runtime.git") + set(UNIFIED_RUNTIME_TAG 0667a9a00eb6437c6786de5c59faa3c0398b6052) if(SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO) set(UNIFIED_RUNTIME_REPO "${SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO}") diff --git a/sycl/plugins/unified_runtime/pi2ur.hpp b/sycl/plugins/unified_runtime/pi2ur.hpp index 6e36b21c31b89..b6fa27503f977 100644 --- a/sycl/plugins/unified_runtime/pi2ur.hpp +++ b/sycl/plugins/unified_runtime/pi2ur.hpp @@ -122,7 +122,7 @@ static pi_result ur2piResult(ur_result_t urResult) { return PI_ERROR_INVALID_BINARY; case UR_RESULT_ERROR_INVALID_GLOBAL_NAME: return PI_ERROR_INVALID_VALUE; - case UR_RESULT_ERROR_INVALID_FUNCTION_NAME: + case UR_RESULT_ERROR_FUNCTION_ADDRESS_NOT_AVAILABLE: return PI_ERROR_FUNCTION_ADDRESS_IS_NOT_AVAILABLE; case UR_RESULT_ERROR_INVALID_GROUP_SIZE_DIMENSION: return PI_ERROR_INVALID_WORK_DIMENSION;