Skip to content

Commit 7ac737a

Browse files
committed
[SYCL][Bindless][E2E] fix double free in vulkan interop unsampled test
1 parent 51d92a3 commit 7ac737a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sycl/cmake/modules/FetchUnifiedRuntime.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ if(SYCL_UR_USE_FETCH_CONTENT)
117117
endfunction()
118118

119119
set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git")
120-
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules/UnifiedRuntimeTag.cmake)
120+
set(UNIFIED_RUNTIME_TAG 698cd9974c18874bf6a7e9ec78507c30b9deeca7)
121121

122122
set(UMF_BUILD_EXAMPLES OFF CACHE INTERNAL "EXAMPLES")
123123
# Due to the use of dependentloadflag and no installer for UMF and hwloc we need

sycl/test-e2e/bindless_images/vulkan_interop/unsampled_images.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void cleanup_test(sycl::context &ctxt, sycl::device &dev, handles_t handles) {
147147
syclexp::destroy_image_handle(handles.output, dev, ctxt);
148148
syclexp::free_image_mem(handles.input_mem_handle_1,
149149
syclexp::image_type::standard, dev, ctxt);
150-
syclexp::free_image_mem(handles.input_mem_handle_1,
150+
syclexp::free_image_mem(handles.input_mem_handle_2,
151151
syclexp::image_type::standard, dev, ctxt);
152152
syclexp::free_image_mem(handles.output_mem_handle,
153153
syclexp::image_type::standard, dev, ctxt);

0 commit comments

Comments
 (0)