We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1ea106 commit 98f883dCopy full SHA for 98f883d
source/adapters/level_zero/context.cpp
@@ -590,8 +590,7 @@ void ur_context_handle_t_::addEventToContextCache(ur_event_handle_t Event) {
590
591
if (Event->CounterBasedEventsEnabled) {
592
auto Cache = getCounterBasedEventCache(
593
- !Legacy(Event->UrQueue) || Legacy(Event->UrQueue)->UsingImmCmdLists,
594
- Device);
+ !(Event->UrQueue) || (Event->UrQueue)->UsingImmCmdLists, Device);
595
Cache->emplace_back(Event);
596
} else {
597
auto Cache = getEventCache(Event->isHostVisible(),
0 commit comments