mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
fix: Download BCS allocations when timestamps are completed
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
36ab19faf7
commit
88a8bc8ac6
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user