2019-08-05 15:16:57 +02:00
|
|
|
/*
|
2020-02-21 01:28:38 +01:00
|
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
2019-08-05 15:16:57 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-22 22:50:57 +01:00
|
|
|
#include "opencl/source/extensions/public/cl_ext_private.h"
|
|
|
|
|
|
2019-08-05 15:16:57 +02:00
|
|
|
#include "memory_properties_flags.h"
|
|
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
|
|
class MemoryPropertiesFlagsParser {
|
|
|
|
|
public:
|
2019-10-22 19:51:53 +02:00
|
|
|
static void addExtraMemoryPropertiesFlags(MemoryPropertiesFlags &propertiesFlags, cl_mem_flags flags, cl_mem_flags_intel flagsIntel);
|
2019-08-05 15:16:57 +02:00
|
|
|
|
2019-12-05 10:32:42 +01:00
|
|
|
static MemoryPropertiesFlags createMemoryPropertiesFlags(cl_mem_flags flags, cl_mem_flags_intel flagsIntel, cl_mem_alloc_flags_intel allocflags);
|
2019-08-05 15:16:57 +02:00
|
|
|
};
|
|
|
|
|
} // namespace NEO
|