Skip to content

Commit

Permalink
Use bundle's context for adhoc queue.
Browse files Browse the repository at this point in the history
Signed-off-by: Julian Oppermann <[email protected]>
  • Loading branch information
jopperm committed Jan 15, 2025
1 parent d1177c8 commit e96e7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sycl/source/detail/kernel_bundle_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ class kernel_bundle_impl {

// TODO: Is this the right approach? Should we just pass the queue as an
// argument?
queue InitQueue{Dev};
queue InitQueue{MContext, Dev};
auto &USMMem =
Entry->getOrAllocateDeviceGlobalUSM(getSyclObjImpl(InitQueue));
InitQueue.wait_and_throw();
Expand Down

0 comments on commit e96e7e0

Please sign in to comment.