refactor: reduce the size of graphics allocation

- 32 context is way too much, most our devices has 5 context right now

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
Michal Mrozek
2025-08-13 08:00:39 +00:00
committed by Compute-Runtime-Automation
parent f3b3d58ee9
commit 167ca6e50c

View File

@@ -422,7 +422,7 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation>, NEO::NonCopyableAn
MemoryPool memoryPool = MemoryPool::memoryNull;
AllocationType allocationType = AllocationType::unknown;
StackVec<UsageInfo, 32> usageInfos;
StackVec<UsageInfo, 5> usageInfos;
StackVec<Gmm *, EngineLimits::maxHandleCount> gmms;
ResidencyData residency;
std::atomic<uint32_t> registeredContextsNum{0};