mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Rename: - MemoryPropertiesFlags to MemoryProperties - MemoryPropertiesParser to MemoryPropertiesParserHelper - getMemoryPropertiesFlags to getFlags - getMemoryPropertiesFlagsIntel to getFlagsIntel - functions involved with MemoryPropertiesFlags Related-To: NEO-4143 Change-Id: I4eec67bba95dd5354d0df43c31e6ca724909138e Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
25 lines
594 B
C++
25 lines
594 B
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/memory_properties/memory_properties_flags_common.inl"
|
|
|
|
namespace NEO {
|
|
|
|
struct MemoryProperties {
|
|
union {
|
|
MemoryFlags flags;
|
|
uint32_t allFlags = 0;
|
|
};
|
|
union {
|
|
MemoryAllocFlags allocFlags;
|
|
uint32_t allAllocFlags = 0;
|
|
};
|
|
static_assert(sizeof(MemoryProperties::flags) == sizeof(MemoryProperties::allFlags) && sizeof(MemoryProperties::allocFlags) == sizeof(MemoryProperties::allAllocFlags), "");
|
|
};
|
|
} // namespace NEO
|