fix: Download BCS allocations when timestamps are completed

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2024-03-08 08:20:15 +00:00
committed by Compute-Runtime-Automation
parent 36ab19faf7
commit 88a8bc8ac6

View File

@@ -780,6 +780,13 @@ bool Event::areTimestampsCompleted() {
}
}
this->cmdQueue->getGpgpuCommandStreamReceiver().downloadAllocations();
const auto &bcsStates = this->cmdQueue->peekActiveBcsStates();
for (auto currentBcsIndex = 0u; currentBcsIndex < bcsStates.size(); currentBcsIndex++) {
const auto &state = bcsStates[currentBcsIndex];
if (state.isValid()) {
this->cmdQueue->getBcsCommandStreamReceiver(state.engineType)->downloadAllocations();
}
}
return true;
}
}