Skip to content

Commit 84bad6c

Browse files
committed
Add wait-list to get-command-list
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
1 parent 06432bf commit 84bad6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/adapters/level_zero/event.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueTimestampRecordingExp(
678678
// Get a new command list to be used on this call
679679
ur_command_list_ptr_t CommandList{};
680680
UR_CALL(Queue->Context->getAvailableCommandList(
681-
Queue, CommandList, UseCopyEngine, /* AllowBatching */ false));
681+
Queue, CommandList, UseCopyEngine, NumEventsInWaitList, EventWaitList,
682+
/* AllowBatching */ false));
682683

683684
UR_CALL(createEventAndAssociateQueue(
684685
Queue, OutEvent, UR_COMMAND_TIMESTAMP_RECORDING_EXP, CommandList,

0 commit comments

Comments
 (0)