mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
performance: increase cl buffer pool size
Related-To: NEO-16452 Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b3e540f0a0
commit
6e67271454
@@ -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
|
||||
)
|
||||
|
||||
|
||||
18
shared/source/dll/buffer_pool_size.cpp
Normal file
18
shared/source/dll/buffer_pool_size.cpp
Normal 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
|
||||
Reference in New Issue
Block a user