fix: unregister csr clients during Event reset

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2024-02-28 18:37:44 +00:00
committed by Compute-Runtime-Automation
parent dd770fc113
commit 9d2a914b03
2 changed files with 2 additions and 2 deletions

View File

@@ -604,7 +604,7 @@ ze_result_t EventImp<TagSizeT>::reset() {
}
unsetInOrderExecInfo();
latestUsedCmdQueue = nullptr;
unsetCmdQueue();
this->resetCompletionStatus();
this->resetDeviceCompletionData(false);
this->l3FlushAppliedOnKernel.reset();

View File

@@ -1403,7 +1403,7 @@ HWTEST_F(CommandListCreate, givenSignalEventWhenCallingSynchronizeThenUnregister
zeEventHostReset(event3);
zeEventHostSynchronize(event3, 1);
EXPECT_EQ(ultCsr->getNumClients(), 1u);
EXPECT_EQ(ultCsr->getNumClients(), 0u);
}
zeEventDestroy(event1);