fix: don't unregister csr clients in EventImp::reset()

Related-To: GSD-7129
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
This commit is contained in:
Warchulski, Jaroslaw
2024-01-12 13:35:08 +00:00
committed by Compute-Runtime-Automation
parent b3b402cad2
commit d1061cd923
2 changed files with 2 additions and 2 deletions

View File

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

View File

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