2019-08-05 21:16:57 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2019 Intel Corporation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2019-10-31 20:45:30 +08:00
|
|
|
#include "public/cl_ext_private.h"
|
|
|
|
|
2019-08-05 21:16:57 +08:00
|
|
|
#include "memory_properties_flags.h"
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
class MemoryPropertiesFlagsParser {
|
|
|
|
public:
|
2019-10-23 01:51:53 +08:00
|
|
|
static void addExtraMemoryPropertiesFlags(MemoryPropertiesFlags &propertiesFlags, cl_mem_flags flags, cl_mem_flags_intel flagsIntel);
|
2019-08-05 21:16:57 +08:00
|
|
|
|
2019-10-23 01:51:53 +08:00
|
|
|
static MemoryPropertiesFlags createMemoryPropertiesFlags(cl_mem_flags flags, cl_mem_flags_intel flagsIntel);
|
2019-08-05 21:16:57 +08:00
|
|
|
};
|
|
|
|
} // namespace NEO
|