mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Create struct MemoryPropertiesFlags and helper for it Related-To: NEO-3132 Change-Id: If303a563d7dbae8cf897aa8182b9caab08593c75 Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
21 lines
457 B
C++
21 lines
457 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "mem_obj_types.h"
|
|
#include "memory_properties_flags.h"
|
|
|
|
namespace NEO {
|
|
|
|
class MemoryPropertiesFlagsParser {
|
|
public:
|
|
static void addExtraMemoryPropertiesFlags(MemoryPropertiesFlags &propertiesFlags, MemoryProperties properties);
|
|
|
|
static MemoryPropertiesFlags createMemoryPropertiesFlags(MemoryProperties properties);
|
|
};
|
|
} // namespace NEO
|