fix: Deffer timestamp packet after failed submission

Related-To: NEO-7835

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2023-04-28 10:16:05 +00:00
committed by Compute-Runtime-Automation
parent 55f6b142cd
commit 464c67789f
4 changed files with 114 additions and 20 deletions

View File

@@ -410,6 +410,9 @@ cl_int CommandQueueHw<GfxFamily>::enqueueHandler(Surface **surfacesForResidency,
}
if (completionStamp.taskCount > CompletionStamp::notReady) {
if (deferredTimestampPackets.get()) {
timestampPacketContainer->moveNodesToNewContainer(*deferredTimestampPackets);
}
return CommandQueue::getErrorCodeFromTaskCount(completionStamp.taskCount);
}