Skip to content

Commit 6c754cb

Browse files
committed
clang-format
Signed-off-by: Sergey V Maslov <[email protected]>
1 parent 8b7b40b commit 6c754cb

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

sycl/plugins/level_zero/pi_level_zero.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -528,13 +528,12 @@ createEventAndAssociateQueue(pi_queue Queue, pi_event *Event,
528528

529529
(*Event)->Queue = Queue;
530530
(*Event)->CommandType = CommandType;
531-
531+
532532
// Append this Event to the CommandList, if any
533533
if (CommandList != Queue->CommandListMap.end()) {
534-
(*Event)->ZeCommandList = CommandList->first;
535-
CommandList->second.append(*Event);
536-
}
537-
else {
534+
(*Event)->ZeCommandList = CommandList->first;
535+
CommandList->second.append(*Event);
536+
} else {
538537
(*Event)->ZeCommandList = nullptr;
539538
}
540539

0 commit comments

Comments
 (0)