Fix flush small task task counts

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2021-05-20 11:31:24 +00:00
committed by Compute-Runtime-Automation
parent fdfb25b85e
commit 341e6bbc3a
5 changed files with 31 additions and 6 deletions

View File

@@ -459,6 +459,7 @@ HWTEST_F(EnqueueThreading, WhenFinishingThenKernelHasOwnership) {
pCmdQ->taskLevel = 1;
auto csr = (CommandStreamReceiverMock<FamilyType> *)&this->pCmdQ->getGpgpuCommandStreamReceiver();
csr->expectedToFreeCount = 0u;
csr->latestSentTaskCount = 1;
pCmdQ->finish();
}