2019-03-19 13:53:55 +01:00
|
|
|
/*
|
2021-04-12 16:55:34 +00:00
|
|
|
* Copyright (C) 2019-2021 Intel Corporation
|
2019-03-19 13:53:55 +01:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
2021-09-13 10:04:37 +00:00
|
|
|
#include <cstddef>
|
|
|
|
|
#include <cstdint>
|
2019-03-19 13:53:55 +01:00
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
namespace NEO {
|
2019-03-19 13:53:55 +01:00
|
|
|
|
2021-04-12 16:55:34 +00:00
|
|
|
class MemoryInfo {
|
|
|
|
|
public:
|
2019-03-19 13:53:55 +01:00
|
|
|
MemoryInfo() = default;
|
|
|
|
|
virtual ~MemoryInfo() = 0;
|
2021-09-13 10:04:37 +00:00
|
|
|
virtual size_t getMemoryRegionSize(uint32_t memoryBank) = 0;
|
2019-03-19 13:53:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
inline MemoryInfo::~MemoryInfo(){};
|
|
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
} // namespace NEO
|