mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
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:
committed by
Compute-Runtime-Automation
parent
c79b8f0e90
commit
6082865eb4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user