Add remaining external allocation types for local bank selector

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2021-07-22 08:43:58 +00:00
committed by Compute-Runtime-Automation
parent 823dee432a
commit f22251f68a
3 changed files with 43 additions and 7 deletions

View File

@ -210,7 +210,7 @@ class MemoryManager {
virtual void registerSysMemAlloc(GraphicsAllocation *allocation){};
virtual void registerLocalMemAlloc(GraphicsAllocation *allocation, uint32_t rootDeviceIndex){};
bool isInternalAllocation(GraphicsAllocation::AllocationType allocationType);
bool isExternalAllocation(GraphicsAllocation::AllocationType allocationType);
LocalMemoryUsageBankSelector *getLocalMemoryUsageBankSelector(GraphicsAllocation::AllocationType allocationType, uint32_t rootDeviceIndex);
bool isLocalMemoryUsedForIsa(uint32_t rootDeviceIndex);