performance: increase cl buffer pool size

Related-To: NEO-16452

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2025-10-17 10:54:08 +00:00
committed by Compute-Runtime-Automation
parent b3e540f0a0
commit 6e67271454
14 changed files with 87 additions and 102 deletions

View File

@@ -20,6 +20,7 @@ set(NEO_SHARED_DLLS
${CMAKE_CURRENT_SOURCE_DIR}/options_dll.cpp
${CMAKE_CURRENT_SOURCE_DIR}/get_staging_buffer_size.cpp
${CMAKE_CURRENT_SOURCE_DIR}/usm_pool_size.cpp
${CMAKE_CURRENT_SOURCE_DIR}/buffer_pool_size.cpp
${CMAKE_CURRENT_SOURCE_DIR}/pool_info.cpp
)

View File

@@ -0,0 +1,18 @@
/*
* Copyright (C) 2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/utilities/buffer_pool_params.h"
namespace NEO {
SmallBuffersParams SmallBuffersParams::getDefaultParams() {
return {
.aggregatedSmallBuffersPoolSize = 16 * MemoryConstants::megaByte,
.smallBufferThreshold = 2 * MemoryConstants::megaByte,
.chunkAlignment = MemoryConstants::pageSize64k,
.startingOffset = MemoryConstants::pageSize64k};
}
} // namespace NEO