mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Revert "performance: limit monitor fence dispatch only to task count dispatches"
This reverts commit f26f027ee7.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
15484c6778
commit
713aa05f27
@@ -941,7 +941,7 @@ bool DirectSubmissionHw<GfxFamily, Dispatcher>::dispatchCommandBuffer(BatchBuffe
|
||||
this->startRingBuffer();
|
||||
|
||||
bool relaxedOrderingSchedulerWillBeNeeded = (this->relaxedOrderingSchedulerRequired || batchBuffer.hasRelaxedOrderingDependencies);
|
||||
bool dispatchMonitorFence = this->dispatchMonitorFenceRequired(batchBuffer.dispatchMonitorFence);
|
||||
bool dispatchMonitorFence = this->dispatchMonitorFenceRequired(batchBuffer.hasStallingCmds);
|
||||
|
||||
size_t dispatchSize = getSizeDispatch(relaxedOrderingSchedulerWillBeNeeded, batchBuffer.hasRelaxedOrderingDependencies, dispatchMonitorFence);
|
||||
|
||||
@@ -983,7 +983,7 @@ bool DirectSubmissionHw<GfxFamily, Dispatcher>::dispatchCommandBuffer(BatchBuffe
|
||||
currentQueueWorkCount++;
|
||||
DirectSubmissionDiagnostics::diagnosticModeOneSubmit(diagnostic.get());
|
||||
|
||||
uint64_t flushValue = updateTagValue(batchBuffer.dispatchMonitorFence);
|
||||
uint64_t flushValue = updateTagValue(batchBuffer.hasStallingCmds);
|
||||
flushStamp.setStamp(flushValue);
|
||||
|
||||
return ringStart;
|
||||
|
||||
Reference in New Issue
Block a user