mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 06:23:01 +08:00
Remove OCL object from MemoryProperties 14/n
- Remove MemoryProperties from api layer - Delete mem_obj_types & mem_obj_types_common MemoryProperties is now fully replaced by MemoryPropertiesFlags Related-To: NEO-3132 Change-Id: I114a887454a187571c22bfd371ef7bf11dd493fd Signed-off-by: Gibala Krzysztof <krzysztof.gibala@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
63f177e9dc
commit
929193c937
@@ -20,8 +20,6 @@ set(RUNTIME_SRCS_MEM_OBJ
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/map_operations_handler.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mem_obj.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mem_obj.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/definitions${BRANCH_DIR_SUFFIX}/mem_obj_types.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/definitions/mem_obj_types_common.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/mem_obj_helper.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mem_obj_helper.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mem_obj_helper_common.inl
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2019 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "runtime/mem_obj/definitions/mem_obj_types_common.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
struct MemoryProperties : MemoryPropertiesBase {
|
||||
MemoryProperties() : MemoryPropertiesBase(0) {}
|
||||
MemoryProperties(cl_mem_flags flags) : MemoryPropertiesBase(flags) {}
|
||||
};
|
||||
|
||||
} // namespace NEO
|
||||
@@ -1,18 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2019 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "public/cl_ext_private.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
struct MemoryPropertiesBase {
|
||||
MemoryPropertiesBase(cl_mem_flags flags) : flags(flags) {}
|
||||
cl_mem_flags flags = 0;
|
||||
cl_mem_flags_intel flagsIntel = 0;
|
||||
};
|
||||
|
||||
} // namespace NEO
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "public/cl_ext_private.h"
|
||||
#include "runtime/api/cl_types.h"
|
||||
#include "runtime/helpers/base_object.h"
|
||||
#include "runtime/helpers/mipmap.h"
|
||||
@@ -13,7 +14,6 @@
|
||||
#include "runtime/os_interface/debug_settings_manager.h"
|
||||
#include "runtime/sharings/sharing.h"
|
||||
|
||||
#include "mem_obj_types.h"
|
||||
#include "memory_properties_flags.h"
|
||||
|
||||
#include <atomic>
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "runtime/memory_manager/memory_manager.h"
|
||||
|
||||
#include "CL/cl.h"
|
||||
#include "mem_obj_types.h"
|
||||
#include "memory_properties_flags.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
Reference in New Issue
Block a user