mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
23 lines
383 B
C++
23 lines
383 B
C++
/*
|
|
* Copyright (C) 2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <cstdint>
|
|
#include <type_traits>
|
|
|
|
namespace aub_stream {
|
|
|
|
struct PageInfo {
|
|
uint64_t physicalAddress;
|
|
size_t size;
|
|
bool isLocalMemory;
|
|
uint32_t memoryBank;
|
|
};
|
|
|
|
static_assert(std::is_pod<PageInfo>::value, "PageInfo is not POD type");
|
|
|
|
} // namespace aub_stream
|