Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit f78500c

Browse files
[SYCL] fix interop queue to not take ownership (#577)
Signed-off-by: Sergey V Maslov <[email protected]>
1 parent 7952479 commit f78500c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SYCL/Plugin/interop-level-zero.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ int main() {
4646
make_context<backend::ext_oneapi_level_zero>(ContextInteropInput);
4747

4848
backend_input_t<backend::ext_oneapi_level_zero, queue> QueueInteropInput = {
49-
ZeQueue};
49+
ZeQueue, ext::oneapi::level_zero::ownership::keep};
5050
auto QueueInterop = make_queue<backend::ext_oneapi_level_zero>(
5151
QueueInteropInput, ContextInterop);
5252

0 commit comments

Comments
 (0)