We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 435f199 commit eafcd64Copy full SHA for eafcd64
source/adapters/level_zero/context.hpp
@@ -249,7 +249,7 @@ struct ur_context_handle_t_ : _ur_object {
249
} else if (Flags & COUNTER_BASED && Flags & HOST_VISIBLE &&
250
Flags & USING_IMM_CMDLIST) {
251
CacheType = HostVisibleCounterBasedImmediateCacheType;
252
- } else if (Flags & COUNTER_BASED && !Flags & HOST_VISIBLE &&
+ } else if (Flags & COUNTER_BASED && !(Flags & HOST_VISIBLE) &&
253
254
CacheType = HostInvisibleCounterBasedImmediateCacheType;
255
} else if (!(Flags & COUNTER_BASED) && Flags & HOST_VISIBLE) {
0 commit comments