We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d48020e commit 3ab11cfCopy full SHA for 3ab11cf
sycl/source/detail/scheduler/commands.cpp
@@ -3593,7 +3593,7 @@ ur_result_t ExecCGCommand::enqueueImpQueue() {
3593
return UR_RESULT_SUCCESS;
3594
}
3595
case CGType::None: {
3596
- if (RawEvents.size() == 0) {
+ if (RawEvents.empty()) {
3597
// urEnqueueEventsWait with zero events acts like a barrier which is NOT
3598
// what we want here. On the other hand, there is nothing to wait for, so
3599
// we don't need to enqueue anything.
0 commit comments