mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +08:00
Change-Id: I6c01d065ff3372fe7583ed50ed51595ebeb53e54 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
23 lines
602 B
C++
23 lines
602 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "core/memory_manager/memory_operations_handler.h"
|
|
|
|
namespace NEO {
|
|
|
|
class GraphicsAllocation;
|
|
|
|
class MockMemoryOperationsHandler : public MemoryOperationsHandler {
|
|
public:
|
|
MockMemoryOperationsHandler() {}
|
|
virtual ~MockMemoryOperationsHandler() {}
|
|
bool makeResident(GraphicsAllocation &gfxAllocation) { return false; }
|
|
bool evict(GraphicsAllocation &gfxAllocation) { return false; }
|
|
bool isResident(GraphicsAllocation &gfxAllocation) { return false; }
|
|
};
|
|
} // namespace NEO
|