Skip to content

Commit 47ab436

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/adapters/level_zero/event.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ ur_result_t urEnqueueEventsWaitWithBarrierExt(
190190
) {
191191
bool InterruptBasedEventsEnabled =
192192
EnqueueExtProp
193-
? (EnqueueExtProp->flags & UR_EXP_ENQUEUE_EXT_FLAG_LOW_POWER_EVENTS) |
193+
? (EnqueueExtProp->flags & UR_EXP_ENQUEUE_EXT_FLAG_LOW_POWER_EVENTS) ||
194194
Queue->InterruptBasedEventsEnabled
195195
: Queue->InterruptBasedEventsEnabled;
196196
// Lock automatically releases when this goes out of scope.

0 commit comments

Comments
 (0)