Skip to content

Commit

Permalink
Fix make_kernel e2e test to release native handles
Browse files Browse the repository at this point in the history
  • Loading branch information
omarahmed1111 committed Oct 21, 2024
1 parent db11a38 commit 46592fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sycl/cmake/modules/FetchUnifiedRuntime.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ if(SYCL_UR_USE_FETCH_CONTENT)
# Merge pull request #2038 from GeorgeWeb/georgi/unsupported-max-coop-wgsize
# [UR][hip][opencl] Mark urKernelSuggestMaxCooperativeGroupCountExp as unsupported
# instead of returning misleading default value
set(UNIFIED_RUNTIME_TAG 7252088d76a910357dd3e00cb57e7a67fd3299bd)
set(UNIFIED_RUNTIME_TAG f8810c6288c47547e21083c272fe4b9c7f880a6f)

set(UMF_BUILD_EXAMPLES OFF CACHE INTERNAL "EXAMPLES")
# Due to the use of dependentloadflag and no installer for UMF and hwloc we need
Expand Down
3 changes: 3 additions & 0 deletions sycl/test-e2e/Plugin/interop-opencl-make-kernel-bundle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,8 @@ int main() {
std::cerr << "Make kernel." << std::endl;
make_kernel<backend::opencl>(k, q.get_context());

clReleaseProgram(p);
clReleaseKernel(k);

return 0;
}

0 comments on commit 46592fe

Please sign in to comment.