fix: setting flush stamp to not have zero value

when direct submission and monitor fence is not required then use
current fence value to update flush stamp

Related-To: NEO-9123
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
Katarzyna Cencelewska
2023-11-06 23:47:21 +00:00
committed by Compute-Runtime-Automation
parent 0e8c3bf473
commit 3ad68cb7d6
2 changed files with 14 additions and 17 deletions

View File

@@ -150,7 +150,8 @@ uint64_t WddmDirectSubmission<GfxFamily, Dispatcher>::updateTagValue(bool requir
if (requireMonitorFence) {
return this->updateTagValueImpl();
}
return 0ull;
MonitoredFence &currentFence = osContextWin->getResidencyController().getMonitoredFence();
return currentFence.currentFenceValue;
}
template <typename GfxFamily, typename Dispatcher>