Skip to content

Commit 3ab11cf

Browse files
Update sycl/source/detail/scheduler/commands.cpp
Co-authored-by: Sergey Semenov <[email protected]>
1 parent d48020e commit 3ab11cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/scheduler/commands.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3593,7 +3593,7 @@ ur_result_t ExecCGCommand::enqueueImpQueue() {
35933593
return UR_RESULT_SUCCESS;
35943594
}
35953595
case CGType::None: {
3596-
if (RawEvents.size() == 0) {
3596+
if (RawEvents.empty()) {
35973597
// urEnqueueEventsWait with zero events acts like a barrier which is NOT
35983598
// what we want here. On the other hand, there is nothing to wait for, so
35993599
// we don't need to enqueue anything.

0 commit comments

Comments
 (0)