Skip to content

Commit cd42b01

Browse files
[L0] changed bitwise or to logical or
Signed-off-by: Zhang, Winston <[email protected]>
1 parent 47ab436 commit cd42b01

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/adapters/level_zero/event.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ ur_result_t urEnqueueEventsWaitWithBarrierExt(
189189
///< this particular command instance.
190190
) {
191191
bool InterruptBasedEventsEnabled =
192-
EnqueueExtProp
193-
? (EnqueueExtProp->flags & UR_EXP_ENQUEUE_EXT_FLAG_LOW_POWER_EVENTS) ||
194-
Queue->InterruptBasedEventsEnabled
195-
: Queue->InterruptBasedEventsEnabled;
192+
EnqueueExtProp ? (EnqueueExtProp->flags &
193+
UR_EXP_ENQUEUE_EXT_FLAG_LOW_POWER_EVENTS) ||
194+
Queue->InterruptBasedEventsEnabled
195+
: Queue->InterruptBasedEventsEnabled;
196196
// Lock automatically releases when this goes out of scope.
197197
std::scoped_lock<ur_shared_mutex> lock(Queue->Mutex);
198198

0 commit comments

Comments
 (0)