2025-09-16 10:44:36 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (C) 2025 Intel Corporation
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "shared/source/helpers/constants.h"
|
2025-09-23 13:14:01 +00:00
|
|
|
#include "shared/source/helpers/gfx_core_helper.h"
|
2025-09-16 10:44:36 +00:00
|
|
|
#include "shared/source/memory_manager/usm_pool_params.h"
|
|
|
|
|
|
|
|
|
|
namespace NEO {
|
2025-09-23 13:14:01 +00:00
|
|
|
size_t UsmPoolParams::getUsmPoolSize(const GfxCoreHelper &gfxCoreHelper) {
|
|
|
|
|
return gfxCoreHelper.isExtendedUsmPoolSizeEnabled() ? 32 * MemoryConstants::megaByte : 2 * MemoryConstants::megaByte;
|
2025-09-16 10:44:36 +00:00
|
|
|
}
|
|
|
|
|
} // namespace NEO
|