Files
compute-runtime/third_party/aub_stream/aubstream/physical_allocation_info.h
Mateusz Jablonski bb308c04ed Refactor aubstream include interface
set include path to third_party/aub_stream
rename third_party/aub_stream/headers -> third_party/aub_stream/aubstream

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-23 10:30:13 +01:00

23 lines
422 B
C++

/*
* Copyright (C) 2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstdint>
#include <type_traits>
namespace aub_stream {
struct PhysicalAllocationInfo {
uint64_t physicalAddress;
size_t size;
uint32_t memoryBank;
size_t pageSize;
};
static_assert(std::is_pod<PhysicalAllocationInfo>::value, "PhysicalAllocationInfo is not POD type");
} // namespace aub_stream