Fix for task count hang issue

Signed-off-by: John Falkowski <john.falkowski@intel.com>
This commit is contained in:
John Falkowski
2022-04-25 20:10:37 +00:00
committed by Compute-Runtime-Automation
parent 56a164ffcd
commit 340ba8bf56
8 changed files with 124 additions and 28 deletions

View File

@ -103,6 +103,10 @@ SubmissionStatus CommandStreamReceiver::submitBatchBuffer(BatchBuffer &batchBuff
this->latestSentTaskCount = taskCount + 1;
SubmissionStatus retVal = this->flush(batchBuffer, allocationsForResidency);
if (retVal != NEO::SubmissionStatus::SUCCESS) {
return retVal;
}
if (!isUpdateTagFromWaitEnabled()) {
this->latestFlushedTaskCount = taskCount + 1;
}