mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Set correct allocation after reseting command container
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
484dea027c
commit
7ee9d279c8
@@ -129,6 +129,7 @@ void CommandContainer::reset() {
|
||||
|
||||
commandStream->replaceBuffer(cmdBufferAllocations[0]->getUnderlyingBuffer(),
|
||||
defaultListCmdBufferSize);
|
||||
commandStream->replaceGraphicsAllocation(cmdBufferAllocations[0]);
|
||||
addToResidencyContainer(commandStream->getGraphicsAllocation());
|
||||
|
||||
for (auto &indirectHeap : indirectHeaps) {
|
||||
|
||||
Reference in New Issue
Block a user