mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Extend key to host ptr fragments container
use separated entries per root device Related-To: NEO-3691 Change-Id: I26b85b8852b23e6a4d290da689174c59343536b3 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
c3a1880492
commit
1a1b4b1c26
@ -123,7 +123,7 @@ GraphicsAllocation *MemoryManager::allocateGraphicsMemoryForImageFromHostPtr(con
|
||||
}
|
||||
|
||||
void MemoryManager::cleanGraphicsMemoryCreatedFromHostPtr(GraphicsAllocation *graphicsAllocation) {
|
||||
hostPtrManager->releaseHandleStorage(graphicsAllocation->fragmentsStorage);
|
||||
hostPtrManager->releaseHandleStorage(graphicsAllocation->getRootDeviceIndex(), graphicsAllocation->fragmentsStorage);
|
||||
cleanOsHandles(graphicsAllocation->fragmentsStorage, graphicsAllocation->getRootDeviceIndex());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user