mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
fix: submit dummy exec to pin memory during zeContextMakeMemoryResident call
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com> Related-To: NEO-11879
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
32fb476f6d
commit
f9b87d53e6
@@ -199,10 +199,12 @@ struct MockDrmGemCloseWorker : DrmGemCloseWorker {
|
||||
};
|
||||
|
||||
struct MockDrmMemoryManager : DrmMemoryManager {
|
||||
using BaseClass = DrmMemoryManager;
|
||||
using DrmMemoryManager::DrmMemoryManager;
|
||||
using DrmMemoryManager::gemCloseWorker;
|
||||
using DrmMemoryManager::mmapFunction;
|
||||
using DrmMemoryManager::munmapFunction;
|
||||
ADDMETHOD_CONST(emitPinningRequestForBoContainer, SubmissionStatus, true, SubmissionStatus::success, (BufferObject * *bo, uint32_t boCount, uint32_t rootDeviceIndex), (bo, boCount, rootDeviceIndex));
|
||||
};
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user