Logo
Explore Help
Sign In
intel/compute-runtime
1
0
Fork 0
You've already forked compute-runtime
mirror of https://github.com/intel/compute-runtime.git synced 2026-01-07 21:27:04 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
dd46bf1e9043d9cc8c5d83ff2f67a2511ce445a9
compute-runtime/shared/source/indirect_heap/heap_size.h

20 lines
327 B
C
Raw Normal View History

[fix] unify heaps size programing - share same code between csr and cmd container to get default heap size - share handling of debug flag to change heap size - share platform level surface heap size between csr and command list - refactor heap size files - put heap size constant and function into namespace - command list surface heap size increased to 2MB for xehp+ to match csr - command list increased surface heap size only for sba tracking - sba tracking heap consumption increased due to different reset policy Related-To: NEO-5055 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-03-16 00:12:49 +00:00
/*
* Copyright (C) 2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/helpers/constants.h"
namespace NEO {
namespace HeapSize {
inline constexpr size_t defaultHeapSize = 64 * KB;
size_t getDefaultHeapSize(size_t defaultValue);
} // namespace HeapSize
} // namespace NEO
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 249ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API