20 lines
601 B
C
20 lines
601 B
C
![]() |
/*
|
||
|
* Copyright (C) 2018 Intel Corporation
|
||
|
*
|
||
|
* SPDX-License-Identifier: MIT
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
#include "runtime/memory_manager/memory_manager.h"
|
||
|
|
||
|
namespace OCLRT {
|
||
|
struct MockAllocationProperties : public AllocationProperties {
|
||
|
public:
|
||
|
using AllocationProperties::AllocationProperties;
|
||
|
|
||
|
MockAllocationProperties(size_t size) : AllocationProperties(size, GraphicsAllocation::AllocationType::UNDECIDED) {}
|
||
|
MockAllocationProperties(bool allocateMemory, size_t size) : AllocationProperties(allocateMemory, size, GraphicsAllocation::AllocationType::UNDECIDED) {}
|
||
|
};
|
||
|
} // namespace OCLRT
|