mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Remove cleaning allocation lists methods from memory manager
Change-Id: I4a58a5373e7dc4cf8dc5d90390e84c4f23689139 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
7b1d19eaec
commit
a30c70d84b
@@ -51,10 +51,10 @@ CommandStreamReceiver::~CommandStreamReceiver() {
|
||||
cleanupResources();
|
||||
|
||||
if (!allocationsForReuse.peekIsEmpty()) {
|
||||
getMemoryManager()->freeAllocationsList(-1, allocationsForReuse);
|
||||
internalAllocationStorage->freeAllocationsList(-1, allocationsForReuse);
|
||||
}
|
||||
if (!temporaryAllocations.peekIsEmpty()) {
|
||||
getMemoryManager()->freeAllocationsList(-1, temporaryAllocations);
|
||||
internalAllocationStorage->freeAllocationsList(-1, temporaryAllocations);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@ void CommandStreamReceiver::waitForTaskCountAndCleanAllocationList(uint32_t requ
|
||||
if (allocationList.peekIsEmpty()) {
|
||||
return;
|
||||
}
|
||||
getMemoryManager()->freeAllocationsList(requiredTaskCount, allocationList);
|
||||
internalAllocationStorage->freeAllocationsList(requiredTaskCount, allocationList);
|
||||
}
|
||||
|
||||
MemoryManager *CommandStreamReceiver::getMemoryManager() const {
|
||||
|
||||
Reference in New Issue
Block a user