@@ -574,8 +574,9 @@ ur_event_handle_t ur_context_handle_t_::getEventFromContextCache(
574574 bool HostVisible, bool WithProfiling, ur_device_handle_t Device,
575575 bool CounterBasedEventEnabled, bool InterruptBasedEventEnabled) {
576576 std::scoped_lock<ur_mutex> Lock (EventCacheMutex);
577- auto Cache = getEventCache (HostVisible, WithProfiling, Device,
578- CounterBasedEventEnabled);
577+ auto Cache =
578+ getEventCache (HostVisible, WithProfiling, Device,
579+ CounterBasedEventEnabled, InterruptBasedEventEnabled);
579580 if (Cache->empty ()) {
580581 logger::info (" Cache empty (Host Visible: {}, Profiling: {}, Counter: {}, "
581582 " Device: {})" ,
@@ -611,9 +612,9 @@ void ur_context_handle_t_::addEventToContextCache(ur_event_handle_t Event) {
611612 Device = Event->UrQueue ->Device ;
612613 }
613614
614- auto Cache =
615- getEventCache ( Event->isHostVisible (), Event->isProfilingEnabled (), Device,
616- Event->CounterBasedEventsEnabled );
615+ auto Cache = getEventCache (
616+ Event->isHostVisible (), Event->isProfilingEnabled (), Device,
617+ Event->CounterBasedEventsEnabled , Event-> InterruptBasedEventsEnabled );
617618 logger::info (" Inserting {} event (Host Visible: {}, Profiling: {}, Counter: "
618619 " {}, Device: {}) into cache {}" ,
619620 Event, Event->HostVisibleEvent , Event->isProfilingEnabled (),
0 commit comments