26 lines
687 B
C++
26 lines
687 B
C++
/*
|
|
* Copyright (C) 2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/test/common/fixtures/device_fixture.h"
|
|
#include "shared/test/common/mocks/mock_memory_manager.h"
|
|
#include "shared/test/common/test_macros/test.h"
|
|
|
|
namespace NEO {
|
|
|
|
class MemManagerFixture : public DeviceFixture {
|
|
public:
|
|
struct FrontWindowMemManagerMock : public MockMemoryManager {
|
|
FrontWindowMemManagerMock(NEO::ExecutionEnvironment &executionEnvironment);
|
|
void forceLimitedRangeAllocator(uint32_t rootDeviceIndex, uint64_t range);
|
|
};
|
|
|
|
void SetUp();
|
|
void TearDown();
|
|
|
|
std::unique_ptr<FrontWindowMemManagerMock> memManager;
|
|
};
|
|
} // namespace NEO
|