performance: increase heap size to 4MB

Related-To: NEO-16348

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2025-10-08 15:03:47 +00:00
committed by Compute-Runtime-Automation
parent d6ea88f266
commit f41bb3517a
31 changed files with 216 additions and 155 deletions

View File

@@ -597,11 +597,11 @@ bool CommandContainer::skipHeapAllocationCreation(HeapType heapType) {
}
size_t CommandContainer::getHeapSize(HeapType heapType) {
size_t defaultHeapSize = HeapSize::defaultHeapSize;
size_t defaultHeapSize = HeapSize::getDefaultHeapSize(heapType);
if (HeapType::surfaceState == heapType) {
defaultHeapSize = this->defaultSshSize;
}
return HeapSize::getDefaultHeapSize(defaultHeapSize);
return HeapSize::getHeapSize(defaultHeapSize);
}
void *CommandContainer::findCpuBaseForCmdBufferAddress(void *cmdBufferAddress) {