mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Update flushed task count when task count write was dispatched
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com> Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
933fbd4f63
commit
335bf2fdb2
@@ -460,6 +460,9 @@ ze_result_t CommandQueueHw<gfxCoreFamily>::executeCommandLists(
|
||||
anyCommandListWithCooperativeKernels);
|
||||
|
||||
this->taskCount = csr->peekTaskCount();
|
||||
if (dispatchPostSync) {
|
||||
csr->setLatestFlushedTaskCount(this->taskCount);
|
||||
}
|
||||
|
||||
csr->makeSurfacePackNonResident(csr->getResidencyAllocations());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user