@@ -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
@@ -662,13 +663,15 @@ urCommandBufferCreateExp(ur_context_handle_t Context, ur_device_handle_t Device,
662
663
if (Device->hasMainCopyEngine ()) {
663
664
UR_CALL (EventCreate (Context, nullptr /* Queue*/ , false , false ,
664
665
&CopyFinishedEvent, UseCounterBasedEvents,
665
- !EnableProfiling));
666
+ !EnableProfiling,
667
+ false /* InterruptBasedEventEnabled*/ ));
666
668
}
667
669
668
670
if (EnableProfiling) {
669
671
UR_CALL (EventCreate (Context, nullptr /* Queue*/ , false /* IsMultiDevice*/ ,
670
672
false /* HostVisible*/ , &ComputeFinishedEvent,
671
- UseCounterBasedEvents, !EnableProfiling));
673
+ UseCounterBasedEvents, !EnableProfiling,
674
+ false /* InterruptBasedEventEnabled*/ ));
672
675
}
673
676
}
674
677
@@ -677,7 +680,8 @@ urCommandBufferCreateExp(ur_context_handle_t Context, ur_device_handle_t Device,
677
680
if (WaitEventPath) {
678
681
UR_CALL (EventCreate (Context, nullptr /* Queue*/ , false /* IsMultiDevice*/ ,
679
682
false /* HostVisible*/ , &WaitEvent,
680
- false /* CounterBasedEventEnabled*/ , !EnableProfiling));
683
+ false /* CounterBasedEventEnabled*/ , !EnableProfiling,
684
+ false /* InterruptBasedEventEnabled*/ ));
681
685
}
682
686
683
687
// Create ZeCommandListResetEvents only if counter-based events are not being
@@ -689,15 +693,17 @@ urCommandBufferCreateExp(ur_context_handle_t Context, ur_device_handle_t Device,
689
693
if (!UseCounterBasedEvents) {
690
694
UR_CALL (EventCreate (Context, nullptr /* Queue*/ , false /* IsMultiDevice*/ ,
691
695
false /* HostVisible*/ , &AllResetEvent,
692
- false /* CounterBasedEventEnabled*/ , !EnableProfiling));
696
+ false /* CounterBasedEventEnabled*/ , !EnableProfiling,
697
+ false /* InterruptBasedEventEnabled*/ ));
693
698
694
699
UR_CALL (createMainCommandList (Context, Device, false , false , false ,
695
700
ZeCommandListResetEvents));
696
701
697
702
// The ExecutionFinishedEvent is only waited on by ZeCommandListResetEvents.
698
703
UR_CALL (EventCreate (Context, nullptr /* Queue*/ , false /* IsMultiDevice*/ ,
699
704
false /* HostVisible*/ , &ExecutionFinishedEvent,
700
- false /* CounterBasedEventEnabled*/ , !EnableProfiling));
705
+ false /* CounterBasedEventEnabled*/ , !EnableProfiling,
706
+ false /* InterruptBased*/ ));
701
707
}
702
708
703
709
try {
0 commit comments