fix: only increase fence/task count when submit task success

Related-To: NEO-7812

Signed-off-by: Pan Zhenjie <zhenjie.pan@intel.com>
This commit is contained in:
Zhenjie Pan
2023-03-15 15:10:06 +00:00
committed by Compute-Runtime-Automation
parent d8f99161dd
commit 820a189c52
6 changed files with 104 additions and 10 deletions

View File

@@ -191,6 +191,7 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
void handleFrontEndStateTransition(const DispatchFlags &dispatchFlags);
void handlePipelineSelectStateTransition(const DispatchFlags &dispatchFlags);
void handleStateBaseAddressStateTransition(const DispatchFlags &dispatchFlags, bool &isStateBaseAddressDirty);
void updateStreamTaskCount(LinearStream &stream, TaskCountType newTaskCount);
bool bcsRelaxedOrderingAllowed(const BlitPropertiesContainer &blitPropertiesContainer, bool hasStallingCmds) const;