mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
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:
committed by
Compute-Runtime-Automation
parent
55f6b142cd
commit
464c67789f
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user