Move memory pool to the core dir
Related-To: NEO-3677 Change-Id: I04fce78640cb0bfc26ad8950261324d997cd113a Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
This commit is contained in:
parent
ee1939ca18
commit
cbc04629fd
|
@ -10,6 +10,7 @@ set(NEO_CORE_HELPERS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/aligned_memory.h
|
${CMAKE_CURRENT_SOURCE_DIR}/aligned_memory.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/basic_math.h
|
${CMAKE_CURRENT_SOURCE_DIR}/basic_math.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/debug_helpers.h
|
${CMAKE_CURRENT_SOURCE_DIR}/debug_helpers.h
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/extendable_enum.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/interlocked_max.h
|
${CMAKE_CURRENT_SOURCE_DIR}/interlocked_max.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/non_copyable_or_moveable.h
|
${CMAKE_CURRENT_SOURCE_DIR}/non_copyable_or_moveable.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/pipeline_select_args.h
|
${CMAKE_CURRENT_SOURCE_DIR}/pipeline_select_args.h
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 Intel Corporation
|
* Copyright (C) 2018-2019 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
|
@ -16,6 +16,7 @@ set(NEO_CORE_MEMORY_MANAGER
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/memory_constants.h
|
${CMAKE_CURRENT_SOURCE_DIR}/memory_constants.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/memory_operations_handler.h
|
${CMAKE_CURRENT_SOURCE_DIR}/memory_operations_handler.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/memory_operations_status.h
|
${CMAKE_CURRENT_SOURCE_DIR}/memory_operations_status.h
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/memory_pool.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/residency.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/residency.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/residency.h
|
${CMAKE_CURRENT_SOURCE_DIR}/residency.h
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "runtime/helpers/extendable_enum.h"
|
#include "core/helpers/extendable_enum.h"
|
||||||
|
|
||||||
namespace MemoryPool {
|
namespace MemoryPool {
|
||||||
struct Type : ExtendableEnum {
|
struct Type : ExtendableEnum {
|
|
@ -31,7 +31,6 @@ set(RUNTIME_SRCS_HELPERS_BASE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/enable_product.inl
|
${CMAKE_CURRENT_SOURCE_DIR}/enable_product.inl
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/engine_control.h
|
${CMAKE_CURRENT_SOURCE_DIR}/engine_control.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/error_mappers.h
|
${CMAKE_CURRENT_SOURCE_DIR}/error_mappers.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/extendable_enum.h
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/file_io.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/file_io.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/file_io.h
|
${CMAKE_CURRENT_SOURCE_DIR}/file_io.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/flat_batch_buffer_helper.h
|
${CMAKE_CURRENT_SOURCE_DIR}/flat_batch_buffer_helper.h
|
||||||
|
|
|
@ -29,7 +29,6 @@ set(RUNTIME_SRCS_MEMORY_MANAGER
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/memory_manager.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/memory_manager.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/memory_manager.h
|
${CMAKE_CURRENT_SOURCE_DIR}/memory_manager.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/memory_manager_banks_count.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/memory_manager_banks_count.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/memory_pool.h
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/os_agnostic_memory_manager.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/os_agnostic_memory_manager.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/os_agnostic_memory_manager.h
|
${CMAKE_CURRENT_SOURCE_DIR}/os_agnostic_memory_manager.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/os_agnostic_memory_manager_allocate_in_device_pool.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/os_agnostic_memory_manager_allocate_in_device_pool.cpp
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
#include "core/helpers/ptr_math.h"
|
#include "core/helpers/ptr_math.h"
|
||||||
#include "core/memory_manager/host_ptr_defines.h"
|
#include "core/memory_manager/host_ptr_defines.h"
|
||||||
#include "core/memory_manager/memory_constants.h"
|
#include "core/memory_manager/memory_constants.h"
|
||||||
|
#include "core/memory_manager/memory_pool.h"
|
||||||
#include "core/utilities/idlist.h"
|
#include "core/utilities/idlist.h"
|
||||||
#include "runtime/memory_manager/memory_pool.h"
|
|
||||||
|
|
||||||
#include "engine_limits.h"
|
#include "engine_limits.h"
|
||||||
#include "storage_info.h"
|
#include "storage_info.h"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "runtime/helpers/extendable_enum.h"
|
#include "core/helpers/extendable_enum.h"
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "runtime/memory_manager/memory_pool.h"
|
#include "core/memory_manager/memory_pool.h"
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue