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 54e4ff9 commit 3e07707Copy full SHA for 3e07707
source/adapters/level_zero/context.cpp
@@ -591,7 +591,8 @@ void ur_context_handle_t_::addEventToContextCache(ur_event_handle_t Event) {
591
592
if (Event->CounterBasedEventsEnabled) {
593
auto Cache = getCounterBasedEventCache(
594
- !Event->UrQueue || Event->UrQueue->UsingImmCmdLists, Device);
+ !Legacy(Event->UrQueue) || Legacy(Event->UrQueue)->UsingImmCmdLists,
595
+ Device);
596
Cache->emplace_back(Event);
597
} else {
598
auto Cache = getEventCache(Event->isHostVisible(),
0 commit comments