From 7ac737a696ca23cd7c0077675e5eb7bee634784e Mon Sep 17 00:00:00 2001 From: "chedy.najjar" Date: Fri, 27 Sep 2024 11:55:07 +0100 Subject: [PATCH] [SYCL][Bindless][E2E] fix double free in vulkan interop unsampled test --- sycl/cmake/modules/FetchUnifiedRuntime.cmake | 2 +- .../bindless_images/vulkan_interop/unsampled_images.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sycl/cmake/modules/FetchUnifiedRuntime.cmake b/sycl/cmake/modules/FetchUnifiedRuntime.cmake index 72841724fa01..c75c6668a8b2 100644 --- a/sycl/cmake/modules/FetchUnifiedRuntime.cmake +++ b/sycl/cmake/modules/FetchUnifiedRuntime.cmake @@ -117,7 +117,7 @@ if(SYCL_UR_USE_FETCH_CONTENT) endfunction() set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git") - include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules/UnifiedRuntimeTag.cmake) + set(UNIFIED_RUNTIME_TAG 698cd9974c18874bf6a7e9ec78507c30b9deeca7) set(UMF_BUILD_EXAMPLES OFF CACHE INTERNAL "EXAMPLES") # Due to the use of dependentloadflag and no installer for UMF and hwloc we need diff --git a/sycl/test-e2e/bindless_images/vulkan_interop/unsampled_images.cpp b/sycl/test-e2e/bindless_images/vulkan_interop/unsampled_images.cpp index 043fba15297a..6be1bda552c3 100644 --- a/sycl/test-e2e/bindless_images/vulkan_interop/unsampled_images.cpp +++ b/sycl/test-e2e/bindless_images/vulkan_interop/unsampled_images.cpp @@ -147,7 +147,7 @@ void cleanup_test(sycl::context &ctxt, sycl::device &dev, handles_t handles) { syclexp::destroy_image_handle(handles.output, dev, ctxt); syclexp::free_image_mem(handles.input_mem_handle_1, syclexp::image_type::standard, dev, ctxt); - syclexp::free_image_mem(handles.input_mem_handle_1, + syclexp::free_image_mem(handles.input_mem_handle_2, syclexp::image_type::standard, dev, ctxt); syclexp::free_image_mem(handles.output_mem_handle, syclexp::image_type::standard, dev, ctxt);