mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +08:00
Limit allocations in execute command list
Reserve space in ResidencyContainer Related-To: NEO-6837 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8d5c674110
commit
4044320301
@@ -49,6 +49,8 @@ CommandContainer::CommandContainer() {
|
||||
for (auto &allocationIndirectHeap : allocationIndirectHeaps) {
|
||||
allocationIndirectHeap = nullptr;
|
||||
}
|
||||
|
||||
residencyContainer.reserve(startingResidencyContainerSize);
|
||||
}
|
||||
|
||||
CommandContainer::CommandContainer(uint32_t maxNumAggregatedIdds) : CommandContainer() {
|
||||
|
||||
Reference in New Issue
Block a user