mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
fix: unregister csr clients during Event reset
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
dd770fc113
commit
9d2a914b03
@@ -604,7 +604,7 @@ ze_result_t EventImp<TagSizeT>::reset() {
|
||||
}
|
||||
|
||||
unsetInOrderExecInfo();
|
||||
latestUsedCmdQueue = nullptr;
|
||||
unsetCmdQueue();
|
||||
this->resetCompletionStatus();
|
||||
this->resetDeviceCompletionData(false);
|
||||
this->l3FlushAppliedOnKernel.reset();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user