Skip to content

Commit 8013e0d

Browse files
committed
[L0 v2] Remove ur_shared_handle
as it's error prone to use - similarly to shared_ptr we should not create multiple instances of shared_handle from a single raw pointer. Also, fix error in kernel.cpp: program handle was not being retained, leading to segfaults.
1 parent 92a4f96 commit 8013e0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/adapters/level_zero/v2/common.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,5 @@ using ze_context_handle_t =
102102
using ze_command_list_handle_t =
103103
ze_handle_wrapper<::ze_command_list_handle_t, zeCommandListDestroy>;
104104

105+
} // namespace raii
105106
} // namespace v2

0 commit comments

Comments
 (0)