mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
-Add support to SvmAllocationData -Refactor parseMemoryProperties -Add allocation flags Related-To: NEO-4011 Change-Id: I3728d2319aeef983dbcc3f8702da9a303a4e2b9c Signed-off-by: Gibala <krzysztof.gibala@intel.com>
22 lines
547 B
C++
22 lines
547 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "public/cl_ext_private.h"
|
|
|
|
#include "memory_properties_flags.h"
|
|
|
|
namespace NEO {
|
|
|
|
class MemoryPropertiesFlagsParser {
|
|
public:
|
|
static void addExtraMemoryPropertiesFlags(MemoryPropertiesFlags &propertiesFlags, cl_mem_flags flags, cl_mem_flags_intel flagsIntel);
|
|
|
|
static MemoryPropertiesFlags createMemoryPropertiesFlags(cl_mem_flags flags, cl_mem_flags_intel flagsIntel, cl_mem_alloc_flags_intel allocflags);
|
|
};
|
|
} // namespace NEO
|