Debian Codegraph @

third_party/aub_stream/aubstream/physical_allocation_info.h

raw
1 /*
2 * Copyright (C) 2022-2024 Intel Corporation
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
8 #pragma once
9 #include <cstdint>
10 #include <type_traits>
11
12 namespace aub_stream {
13
14 struct PhysicalAllocationInfo {
15 uint64_t physicalAddress;
16 size_t size;
17 uint32_t memoryBank;
18 size_t pageSize;
19 };
20
21 static_assert(std::is_standard_layout_v<PhysicalAllocationInfo> && std::is_trivial_v<PhysicalAllocationInfo> && std::is_trivially_copyable_v<PhysicalAllocationInfo>, "PhysicalAllocationInfo is not POD type");
22
23 } // namespace aub_stream