mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 07:00:17 +08:00
performance: increase heap size to 4MB
Related-To: NEO-16348 Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d6ea88f266
commit
f41bb3517a
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user