mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
23 lines
422 B
C
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
|