test: Add mock for cpu page fault manager

Related-To: NEO-8015

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
Milczarek, Slawomir 2023-07-21 15:21:21 +00:00 committed by Compute-Runtime-Automation
parent 9ee6e5bf19
commit 7fe3ca010e
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
/*
* Copyright (C) 2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/test/common/mocks/mock_cpu_page_fault_manager.h"
namespace NEO {
std::unique_ptr<PageFaultManager> PageFaultManager::create() {
auto pageFaultManager = std::make_unique<MockPageFaultManager>();
pageFaultManager->selectGpuDomainHandler();
return pageFaultManager;
}
} // namespace NEO