mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-23 03:33:13 +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
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2023 Intel Corporation
|
||||
* Copyright (C) 2023-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -12,7 +12,7 @@
|
||||
namespace NEO {
|
||||
namespace HeapSize {
|
||||
|
||||
size_t getDefaultHeapSize(size_t defaultValue) {
|
||||
size_t getHeapSize(size_t defaultValue) {
|
||||
auto defaultSize = defaultValue;
|
||||
if (debugManager.flags.ForceDefaultHeapSize.get() != -1) {
|
||||
defaultSize = debugManager.flags.ForceDefaultHeapSize.get() * MemoryConstants::kiloByte;
|
||||
|
||||
Reference in New Issue
Block a user