mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Delegate all MemoryManager::getResidencyAllocations() calls through CSR
Change-Id: I9cfbfd86d39b5341598ff2bd8883e13605c58b72 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
888b067adc
commit
fafde2ec15
@@ -449,7 +449,7 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::flushTask(
|
||||
} else {
|
||||
auto commandBuffer = new CommandBuffer(device);
|
||||
commandBuffer->batchBuffer = batchBuffer;
|
||||
commandBuffer->surfaces.swap(getMemoryManager()->getResidencyAllocations());
|
||||
commandBuffer->surfaces.swap(this->getResidencyAllocations());
|
||||
commandBuffer->batchBufferEndLocation = bbEndLocation;
|
||||
commandBuffer->taskCount = this->taskCount + 1;
|
||||
commandBuffer->flushStamp->replaceStampObject(dispatchFlags.flushStampReference);
|
||||
|
||||
Reference in New Issue
Block a user