mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00

Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
21 lines
561 B
C++
21 lines
561 B
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/memory_manager/host_ptr_manager.h"
|
|
|
|
namespace NEO {
|
|
class MockHostPtrManager : public HostPtrManager {
|
|
public:
|
|
using HostPtrManager::checkAllocationsForOverlapping;
|
|
using HostPtrManager::getAllocationRequirements;
|
|
using HostPtrManager::getFragmentAndCheckForOverlaps;
|
|
using HostPtrManager::populateAlreadyAllocatedFragments;
|
|
size_t getFragmentCount() { return partialAllocations.size(); }
|
|
};
|
|
} // namespace NEO
|