mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 23:33:20 +08:00
Revert "performance: increase heap size to 4MB"
This reverts commit f41bb3517a.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6731e35695
commit
2eb8928ec5
@@ -597,11 +597,11 @@ bool CommandContainer::skipHeapAllocationCreation(HeapType heapType) {
|
||||
}
|
||||
|
||||
size_t CommandContainer::getHeapSize(HeapType heapType) {
|
||||
size_t defaultHeapSize = HeapSize::getDefaultHeapSize(heapType);
|
||||
size_t defaultHeapSize = HeapSize::defaultHeapSize;
|
||||
if (HeapType::surfaceState == heapType) {
|
||||
defaultHeapSize = this->defaultSshSize;
|
||||
}
|
||||
return HeapSize::getHeapSize(defaultHeapSize);
|
||||
return HeapSize::getDefaultHeapSize(defaultHeapSize);
|
||||
}
|
||||
|
||||
void *CommandContainer::findCpuBaseForCmdBufferAddress(void *cmdBufferAddress) {
|
||||
|
||||
Reference in New Issue
Block a user