From e69d5452a16dfc9b09fa2e7a6e1a7cd082c679a1 Mon Sep 17 00:00:00 2001 From: "Spruit, Neil R" Date: Tue, 20 Feb 2024 19:31:25 -0800 Subject: [PATCH 1/2] [UR][L0] Fix the multi device event cache to allocate lists as pointers - fix to address a multi device crash given many devices causing a stack overflow. Event Caches per device are now explicitly allocated. - pre-commit PR for https://github.com/oneapi-src/unified-runtime/pull/1366 Signed-off-by: Spruit, Neil R --- sycl/plugins/unified_runtime/CMakeLists.txt | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/sycl/plugins/unified_runtime/CMakeLists.txt b/sycl/plugins/unified_runtime/CMakeLists.txt index 2c28c7682d5a2..eb0ddd585f7ae 100644 --- a/sycl/plugins/unified_runtime/CMakeLists.txt +++ b/sycl/plugins/unified_runtime/CMakeLists.txt @@ -56,14 +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 24078c26ab871572067f520d856f4c65271cb9e5 - # Merge: 227a5edf 89a66af7 - # Author: Kenneth Benzie (Benie) - # Date: Mon Feb 19 11:51:49 2024 +0100 - # Merge pull request #1299 from rafbiels/rafbiels/fix-cuda-maxreg-check - # [CUDA] Fix MaxRegsPerBlock check in setKernelParams - set(UNIFIED_RUNTIME_TAG 24078c26ab871572067f520d856f4c65271cb9e5) + set(UNIFIED_RUNTIME_REPO "https://github.com/nrspruit/unified-runtime.git") + set(UNIFIED_RUNTIME_TAG 123c00f129e19db34c987990f13c336e5bef2db1) if(SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO) set(UNIFIED_RUNTIME_REPO "${SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO}") From 801b9472144e3595bec6e52f91abcf929548e40d Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Thu, 22 Feb 2024 10:56:48 +0000 Subject: [PATCH 2/2] [UR] Bump tag to b4150ad1 --- sycl/plugins/unified_runtime/CMakeLists.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sycl/plugins/unified_runtime/CMakeLists.txt b/sycl/plugins/unified_runtime/CMakeLists.txt index eb0ddd585f7ae..c362246b6f77d 100644 --- a/sycl/plugins/unified_runtime/CMakeLists.txt +++ b/sycl/plugins/unified_runtime/CMakeLists.txt @@ -56,8 +56,14 @@ endif() if(SYCL_PI_UR_USE_FETCH_CONTENT) include(FetchContent) - set(UNIFIED_RUNTIME_REPO "https://github.com/nrspruit/unified-runtime.git") - set(UNIFIED_RUNTIME_TAG 123c00f129e19db34c987990f13c336e5bef2db1) + set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git") + # commit b4150ad1512476eb6ea0f2ede3bd29a6e3fd2b9e + # Merge: 4814e717 123c00f1 + # Author: Kenneth Benzie (Benie) + # Date: Thu Feb 22 10:42:39 2024 +0000 + # Merge pull request #1366 from nrspruit/fix_multidevice_event_cache + # [L0] Fix the multi device event cache to allocate lists as pointers + set(UNIFIED_RUNTIME_TAG b4150ad1512476eb6ea0f2ede3bd29a6e3fd2b9e) if(SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO) set(UNIFIED_RUNTIME_REPO "${SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO}")