Skip to content

Commit cbc0462

Browse files
Move memory pool to the core dir
Related-To: NEO-3677 Change-Id: I04fce78640cb0bfc26ad8950261324d997cd113a Signed-off-by: Jobczyk, Lukasz <[email protected]>
1 parent ee1939c commit cbc0462

File tree

9 files changed

+7
-7
lines changed

9 files changed

+7
-7
lines changed

core/helpers/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ set(NEO_CORE_HELPERS
1010
${CMAKE_CURRENT_SOURCE_DIR}/aligned_memory.h
1111
${CMAKE_CURRENT_SOURCE_DIR}/basic_math.h
1212
${CMAKE_CURRENT_SOURCE_DIR}/debug_helpers.h
13+
${CMAKE_CURRENT_SOURCE_DIR}/extendable_enum.h
1314
${CMAKE_CURRENT_SOURCE_DIR}/interlocked_max.h
1415
${CMAKE_CURRENT_SOURCE_DIR}/non_copyable_or_moveable.h
1516
${CMAKE_CURRENT_SOURCE_DIR}/pipeline_select_args.h
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2018 Intel Corporation
2+
* Copyright (C) 2018-2019 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*

core/memory_manager/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ set(NEO_CORE_MEMORY_MANAGER
1616
${CMAKE_CURRENT_SOURCE_DIR}/memory_constants.h
1717
${CMAKE_CURRENT_SOURCE_DIR}/memory_operations_handler.h
1818
${CMAKE_CURRENT_SOURCE_DIR}/memory_operations_status.h
19+
${CMAKE_CURRENT_SOURCE_DIR}/memory_pool.h
1920
${CMAKE_CURRENT_SOURCE_DIR}/residency.cpp
2021
${CMAKE_CURRENT_SOURCE_DIR}/residency.h
2122
)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#pragma once
99

10-
#include "runtime/helpers/extendable_enum.h"
10+
#include "core/helpers/extendable_enum.h"
1111

1212
namespace MemoryPool {
1313
struct Type : ExtendableEnum {

runtime/helpers/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ set(RUNTIME_SRCS_HELPERS_BASE
3131
${CMAKE_CURRENT_SOURCE_DIR}/enable_product.inl
3232
${CMAKE_CURRENT_SOURCE_DIR}/engine_control.h
3333
${CMAKE_CURRENT_SOURCE_DIR}/error_mappers.h
34-
${CMAKE_CURRENT_SOURCE_DIR}/extendable_enum.h
3534
${CMAKE_CURRENT_SOURCE_DIR}/file_io.cpp
3635
${CMAKE_CURRENT_SOURCE_DIR}/file_io.h
3736
${CMAKE_CURRENT_SOURCE_DIR}/flat_batch_buffer_helper.h

runtime/memory_manager/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ set(RUNTIME_SRCS_MEMORY_MANAGER
2929
${CMAKE_CURRENT_SOURCE_DIR}/memory_manager.cpp
3030
${CMAKE_CURRENT_SOURCE_DIR}/memory_manager.h
3131
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/memory_manager_banks_count.cpp
32-
${CMAKE_CURRENT_SOURCE_DIR}/memory_pool.h
3332
${CMAKE_CURRENT_SOURCE_DIR}/os_agnostic_memory_manager.cpp
3433
${CMAKE_CURRENT_SOURCE_DIR}/os_agnostic_memory_manager.h
3534
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/os_agnostic_memory_manager_allocate_in_device_pool.cpp

runtime/memory_manager/graphics_allocation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#include "core/helpers/ptr_math.h"
1212
#include "core/memory_manager/host_ptr_defines.h"
1313
#include "core/memory_manager/memory_constants.h"
14+
#include "core/memory_manager/memory_pool.h"
1415
#include "core/utilities/idlist.h"
15-
#include "runtime/memory_manager/memory_pool.h"
1616

1717
#include "engine_limits.h"
1818
#include "storage_info.h"

unit_tests/helpers/extendable_enum_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
*/
77

8-
#include "runtime/helpers/extendable_enum.h"
8+
#include "core/helpers/extendable_enum.h"
99

1010
#include "gtest/gtest.h"
1111

unit_tests/memory_manager/memory_pool_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
*/
77

8-
#include "runtime/memory_manager/memory_pool.h"
8+
#include "core/memory_manager/memory_pool.h"
99

1010
#include "gtest/gtest.h"
1111

0 commit comments

Comments
 (0)