Move fillReusableAllocationLists to first append

Related-To: NEO-7422

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2023-02-15 12:34:14 +00:00
committed by Compute-Runtime-Automation
parent b485c025d0
commit 4c32529b5b
8 changed files with 29 additions and 3 deletions

View File

@@ -422,6 +422,10 @@ GraphicsAllocation *CommandContainer::allocateCommandBuffer() {
}
void CommandContainer::fillReusableAllocationLists() {
if (this->immediateReusableAllocationList) {
return;
}
this->immediateReusableAllocationList = std::make_unique<NEO::AllocationsList>();
const auto &hardwareInfo = device->getHardwareInfo();
auto &gfxCoreHelper = device->getGfxCoreHelper();