Revert "Optimize Level Zero indirect allocations handling."

This reverts commit 3ecbc55ba9.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2022-01-20 11:04:44 +01:00
committed by Compute-Runtime-Automation
parent c79b8f0e90
commit 6082865eb4
9 changed files with 75 additions and 188 deletions

View File

@@ -252,12 +252,6 @@ class MockCsrHw2 : public CommandStreamReceiverHw<GfxFamily> {
return taskCount;
}
void makeSurfacePackNonResident(ResidencyContainer &allocationsForResidency) override {
for (auto &surface : allocationsForResidency) {
rememberedResidencies.push_back(surface);
}
CommandStreamReceiver::makeSurfacePackNonResident(allocationsForResidency);
}
void programHardwareContext(LinearStream &cmdStream) override {
programHardwareContextCalled = true;
}
@@ -267,7 +261,6 @@ class MockCsrHw2 : public CommandStreamReceiverHw<GfxFamily> {
std::unique_ptr<uint8_t> storedTaskStream;
size_t storedTaskStreamSize = 0;
ResidencyContainer rememberedResidencies;
int flushCalledCount = 0;
std::unique_ptr<CommandBuffer> recordedCommandBuffer = nullptr;
ResidencyContainer copyOfAllocations;