mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
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:
committed by
Compute-Runtime-Automation
parent
f3b3d58ee9
commit
167ca6e50c
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user