mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +08:00
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
26 lines
552 B
C++
26 lines
552 B
C++
/*
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/memory_manager/deferrable_deletion.h"
|
|
|
|
namespace NEO {
|
|
|
|
class GraphicsAllocation;
|
|
class MemoryManager;
|
|
|
|
class DeferrableAllocationDeletion : public DeferrableDeletion {
|
|
public:
|
|
DeferrableAllocationDeletion(MemoryManager &memoryManager, GraphicsAllocation &graphicsAllocation);
|
|
bool apply() override;
|
|
|
|
protected:
|
|
MemoryManager &memoryManager;
|
|
GraphicsAllocation &graphicsAllocation;
|
|
};
|
|
} // namespace NEO
|