mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
fix: improve TBX downloading after L0 Event sync
Related-To: HSD-18038498579 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4b01058706
commit
696b02bfd3
@@ -178,10 +178,10 @@ bool CommandQueueHw<Family>::waitForTimestamps(Range<CopyEngineState> copyEngine
|
||||
}
|
||||
|
||||
if (waited) {
|
||||
getGpgpuCommandStreamReceiver().downloadAllocations();
|
||||
getGpgpuCommandStreamReceiver().downloadAllocations(true);
|
||||
for (const auto ©Engine : copyEnginesToWait) {
|
||||
auto bcsCsr = getBcsCommandStreamReceiver(copyEngine.engineType);
|
||||
bcsCsr->downloadAllocations();
|
||||
bcsCsr->downloadAllocations(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -832,12 +832,12 @@ bool Event::areTimestampsCompleted() {
|
||||
}
|
||||
}
|
||||
}
|
||||
this->cmdQueue->getGpgpuCommandStreamReceiver().downloadAllocations();
|
||||
this->cmdQueue->getGpgpuCommandStreamReceiver().downloadAllocations(true);
|
||||
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();
|
||||
this->cmdQueue->getBcsCommandStreamReceiver(state.engineType)->downloadAllocations(true);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user