Skip to content

Commit 0e84027

Browse files
[L0] changed bitwise or to logical or
Signed-off-by: Zhang, Winston <winston.zhang@intel.com>
1 parent db2b575 commit 0e84027

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)