Skip to content

Commit eafcd64

Browse files
[L0] Refactoring of boolean event parameters
Fixed paratheses. Signed-off-by: Winston Zhang <[email protected]>
1 parent 435f199 commit eafcd64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/adapters/level_zero/context.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ struct ur_context_handle_t_ : _ur_object {
249249
} else if (Flags & COUNTER_BASED && Flags & HOST_VISIBLE &&
250250
Flags & USING_IMM_CMDLIST) {
251251
CacheType = HostVisibleCounterBasedImmediateCacheType;
252-
} else if (Flags & COUNTER_BASED && !Flags & HOST_VISIBLE &&
252+
} else if (Flags & COUNTER_BASED && !(Flags & HOST_VISIBLE) &&
253253
Flags & USING_IMM_CMDLIST) {
254254
CacheType = HostInvisibleCounterBasedImmediateCacheType;
255255
} else if (!(Flags & COUNTER_BASED) && Flags & HOST_VISIBLE) {

0 commit comments

Comments
 (0)