Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,14 @@ ur_result_t ur_queue_immediate_out_of_order_t::enqueueEventsWaitWithBarrier(
: &ur_command_list_manager::appendEventsWait;

auto commandListManagersLocked = commandListManagers.lock();
bool captureActive = false;
commandListManagersLocked[captureCmdListManagerIdx].queryGraphCaptureActive(
&captureActive);
if (captureActive) {
return std::invoke(
barrierFn, commandListManagersLocked[captureCmdListManagerIdx],
waitListView, createEventIfRequested(eventPool.get(), phEvent, this));
}

// Enqueue wait for the user-provider events on the first command list.
UR_CALL(commandListManagersLocked[0].appendEventsWait(waitListView,
Expand Down
Loading
Loading