fix: aub residency in HW+AUB mode

Related-To: NEO-9230
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
This commit is contained in:
Fabian Zwolinski
2023-11-27 13:47:52 +00:00
committed by Compute-Runtime-Automation
parent 6c4e46f6a6
commit 06ec4c3a82
40 changed files with 857 additions and 85 deletions

View File

@@ -43,6 +43,7 @@ class MockCommandStreamReceiver : public CommandStreamReceiver {
using CommandStreamReceiver::internalAllocationStorage;
using CommandStreamReceiver::latestFlushedTaskCount;
using CommandStreamReceiver::latestSentTaskCount;
using CommandStreamReceiver::localMemoryEnabled;
using CommandStreamReceiver::newResources;
using CommandStreamReceiver::numClients;
using CommandStreamReceiver::osContext;
@@ -78,6 +79,10 @@ class MockCommandStreamReceiver : public CommandStreamReceiver {
void updateTagFromWait() override{};
bool isUpdateTagFromWaitEnabled() override { return false; };
void writeMemoryAub(aub_stream::AllocationParams &allocationParams) override {
writeMemoryAubCalled++;
}
bool isMultiOsContextCapable() const override { return multiOsContextCapable; }
bool isGpuHangDetected() const override {
@@ -206,6 +211,7 @@ class MockCommandStreamReceiver : public CommandStreamReceiver {
int *flushBatchedSubmissionsCallCounter = nullptr;
uint32_t waitForCompletionWithTimeoutCalled = 0;
uint32_t fillReusableAllocationsListCalled = 0;
uint32_t writeMemoryAubCalled = 0;
uint32_t makeResidentCalledTimes = 0;
uint32_t downloadAllocationsCalledCount = 0;
int hostPtrSurfaceCreationMutexLockCount = 0;