2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2018-09-18 15:11:08 +08:00
|
|
|
* Copyright (C) 2017-2018 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "runtime/memory_manager/deferrable_deletion.h"
|
|
|
|
#include "gtest/gtest.h"
|
|
|
|
|
|
|
|
namespace OCLRT {
|
|
|
|
class MockDeferrableDeletion : public DeferrableDeletion {
|
|
|
|
public:
|
|
|
|
void apply() override;
|
|
|
|
|
|
|
|
virtual ~MockDeferrableDeletion();
|
|
|
|
int applyCalled = 0;
|
|
|
|
};
|
2018-06-13 03:54:39 +08:00
|
|
|
} // namespace OCLRT
|