mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Wait for taskCount in downloadAllocations
Change-Id: Ie235f83753bfdaa6a67a082f24fa55a61b370545 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
83a387f578
commit
09e5465248
@@ -521,7 +521,9 @@ void TbxCommandStreamReceiverHw<GfxFamily>::downloadAllocation(GraphicsAllocatio
|
||||
|
||||
template <typename GfxFamily>
|
||||
void TbxCommandStreamReceiverHw<GfxFamily>::downloadAllocations() {
|
||||
downloadAllocation(*this->getTagAllocation());
|
||||
while (*this->getTagAddress() < this->latestFlushedTaskCount) {
|
||||
downloadAllocation(*this->getTagAllocation());
|
||||
}
|
||||
for (GraphicsAllocation *graphicsAllocation : this->allocationsForDownload) {
|
||||
downloadAllocation(*graphicsAllocation);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user