@@ -215,7 +215,8 @@ ur_result_t createSyncPointAndGetZeEvents(
215
215
UR_CALL (EventCreate (CommandBuffer->Context , nullptr /* Queue*/ ,
216
216
false /* IsMultiDevice*/ , HostVisible, &LaunchEvent,
217
217
false /* CounterBasedEventEnabled*/ ,
218
- !CommandBuffer->IsProfilingEnabled , false ));
218
+ !CommandBuffer->IsProfilingEnabled ,
219
+ false /* InterruptBasedEventEnabled*/ ));
219
220
LaunchEvent->CommandType = CommandType;
220
221
ZeLaunchEvent = LaunchEvent->ZeEvent ;
221
222
@@ -680,13 +681,15 @@ urCommandBufferCreateExp(ur_context_handle_t Context, ur_device_handle_t Device,
680
681
if (Device->hasMainCopyEngine ()) {
681
682
UR_CALL (EventCreate (Context, nullptr /* Queue*/ , false , false ,
682
683
&CopyFinishedEvent, UseCounterBasedEvents,
683
- !EnableProfiling));
684
+ !EnableProfiling,
685
+ false /* InterruptBasedEventEnabled*/ ));
684
686
}
685
687
686
688
if (EnableProfiling) {
687
689
UR_CALL (EventCreate (Context, nullptr /* Queue*/ , false /* IsMultiDevice*/ ,
688
690
false /* HostVisible*/ , &ComputeFinishedEvent,
689
- UseCounterBasedEvents, !EnableProfiling));
691
+ UseCounterBasedEvents, !EnableProfiling,
692
+ false /* InterruptBasedEventEnabled*/ ));
690
693
}
691
694
}
692
695
@@ -695,7 +698,8 @@ urCommandBufferCreateExp(ur_context_handle_t Context, ur_device_handle_t Device,
695
698
if (WaitEventPath) {
696
699
UR_CALL (EventCreate (Context, nullptr /* Queue*/ , false /* IsMultiDevice*/ ,
697
700
false /* HostVisible*/ , &WaitEvent,
698
- false /* CounterBasedEventEnabled*/ , !EnableProfiling));
701
+ false /* CounterBasedEventEnabled*/ , !EnableProfiling,
702
+ false /* InterruptBasedEventEnabled*/ ));
699
703
}
700
704
701
705
// Create ZeCommandListResetEvents only if counter-based events are not being
@@ -707,15 +711,17 @@ urCommandBufferCreateExp(ur_context_handle_t Context, ur_device_handle_t Device,
707
711
if (!UseCounterBasedEvents) {
708
712
UR_CALL (EventCreate (Context, nullptr /* Queue*/ , false /* IsMultiDevice*/ ,
709
713
false /* HostVisible*/ , &AllResetEvent,
710
- false /* CounterBasedEventEnabled*/ , !EnableProfiling));
714
+ false /* CounterBasedEventEnabled*/ , !EnableProfiling,
715
+ false /* InterruptBasedEventEnabled*/ ));
711
716
712
717
UR_CALL (createMainCommandList (Context, Device, false , false , false ,
713
718
ZeCommandListResetEvents));
714
719
715
720
// The ExecutionFinishedEvent is only waited on by ZeCommandListResetEvents.
716
721
UR_CALL (EventCreate (Context, nullptr /* Queue*/ , false /* IsMultiDevice*/ ,
717
722
false /* HostVisible*/ , &ExecutionFinishedEvent,
718
- false /* CounterBasedEventEnabled*/ , !EnableProfiling));
723
+ false /* CounterBasedEventEnabled*/ , !EnableProfiling,
724
+ false /* InterruptBased*/ ));
719
725
}
720
726
721
727
try {
0 commit comments