mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
fix: reduce USM pool size for platforms prior Xe2
Related-To: NEO-16192 Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
452475a0b9
commit
797807bea8
@@ -6,10 +6,11 @@
|
||||
*/
|
||||
|
||||
#include "shared/source/helpers/constants.h"
|
||||
#include "shared/source/helpers/gfx_core_helper.h"
|
||||
#include "shared/source/memory_manager/usm_pool_params.h"
|
||||
|
||||
namespace NEO {
|
||||
size_t UsmPoolParams::getUsmPoolSize() {
|
||||
return 32 * MemoryConstants::megaByte;
|
||||
size_t UsmPoolParams::getUsmPoolSize(const GfxCoreHelper &gfxCoreHelper) {
|
||||
return gfxCoreHelper.isExtendedUsmPoolSizeEnabled() ? 32 * MemoryConstants::megaByte : 2 * MemoryConstants::megaByte;
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user