2018-09-11 20:45:43 +08:00
|
|
|
/*
|
2018-09-18 15:11:08 +08:00
|
|
|
* Copyright (C) 2018 Intel Corporation
|
2018-09-11 20:45:43 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-09-11 20:45:43 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "runtime/memory_manager/physical_address_allocator.h"
|
|
|
|
|
|
|
|
using namespace OCLRT;
|
|
|
|
|
|
|
|
class MockPhysicalAddressAllocator : public PhysicalAddressAllocator {
|
|
|
|
public:
|
|
|
|
using PhysicalAddressAllocator::initialPageAddress;
|
2018-09-21 04:54:19 +08:00
|
|
|
using PhysicalAddressAllocator::mainAllocator;
|
|
|
|
using PhysicalAddressAllocator::PhysicalAddressAllocator;
|
2018-09-11 20:45:43 +08:00
|
|
|
};
|