mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
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:
committed by
Compute-Runtime-Automation
parent
6c4e46f6a6
commit
06ec4c3a82
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user