Skip to content

Commit

Permalink
Remove the check for CounterBasedEventsEnabled in l0 events
Browse files Browse the repository at this point in the history
  • Loading branch information
omarahmed1111 committed May 29, 2024
1 parent 8f6bb3f commit 1af4c15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/adapters/level_zero/event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1388,8 +1388,7 @@ ur_result_t _ur_ze_event_list_t::createAndRetainUrZeEventList(

ZE2UR_CALL(zeCommandListAppendWaitOnEvents,
(ZeCommandList, 1u, &EventList[I]->ZeEvent));
if (!MultiDeviceEvent->CounterBasedEventsEnabled)
ZE2UR_CALL(zeEventHostSignal, (MultiDeviceZeEvent));
ZE2UR_CALL(zeEventHostSignal, (MultiDeviceZeEvent));

UR_CALL(Queue->executeCommandList(CommandList, /* IsBlocking */ false,
/* OkToBatchCommand */ true));
Expand Down

0 comments on commit 1af4c15

Please sign in to comment.