Skip to content

Commit b46dc0a

Browse files
move mock_host_ptr_manager to shared
Signed-off-by: Artur Harasimiuk <[email protected]>
1 parent 638d744 commit b46dc0a

File tree

9 files changed

+7
-8
lines changed

9 files changed

+7
-8
lines changed

opencl/test/unit_test/memory_manager/host_ptr_manager_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
#include "shared/source/helpers/ptr_math.h"
1212
#include "shared/source/os_interface/os_context.h"
1313
#include "shared/test/common/helpers/engine_descriptor_helper.h"
14+
#include "shared/test/common/mocks/mock_host_ptr_manager.h"
1415

1516
#include "opencl/test/unit_test/fixtures/memory_manager_fixture.h"
1617
#include "opencl/test/unit_test/mocks/mock_allocation_properties.h"
1718
#include "opencl/test/unit_test/mocks/mock_csr.h"
18-
#include "opencl/test/unit_test/mocks/mock_host_ptr_manager.h"
1919
#include "opencl/test/unit_test/mocks/mock_internal_allocation_storage.h"
2020
#include "opencl/test/unit_test/mocks/mock_memory_manager.h"
2121
#include "test.h"

opencl/test/unit_test/mocks/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ set(IGDRCL_SRCS_tests_mocks
3131
${CMAKE_CURRENT_SOURCE_DIR}/mock_gmm_page_table_mngr.h
3232
${CMAKE_CURRENT_SOURCE_DIR}/mock_gmm_resource_info.cpp
3333
${CMAKE_CURRENT_SOURCE_DIR}/mock_gmm_resource_info.h
34-
${CMAKE_CURRENT_SOURCE_DIR}/mock_host_ptr_manager.h
3534
${CMAKE_CURRENT_SOURCE_DIR}/mock_image.h
3635
${CMAKE_CURRENT_SOURCE_DIR}/mock_internal_allocation_storage.h
3736
${CMAKE_CURRENT_SOURCE_DIR}/mock_kernel.cpp

opencl/test/unit_test/mocks/mock_memory_manager.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
#include "shared/source/memory_manager/os_agnostic_memory_manager.h"
1111
#include "shared/test/common/helpers/default_hw_info.h"
1212
#include "shared/test/common/mocks/mock_execution_environment.h"
13-
14-
#include "opencl/test/unit_test/mocks/mock_host_ptr_manager.h"
13+
#include "shared/test/common/mocks/mock_host_ptr_manager.h"
1514

1615
#include "gmock/gmock.h"
1716

opencl/test/unit_test/os_interface/linux/drm_command_stream_tests_1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "shared/test/common/helpers/debug_manager_state_restore.h"
2525
#include "shared/test/common/helpers/dispatch_flags_helper.h"
2626
#include "shared/test/common/helpers/engine_descriptor_helper.h"
27+
#include "shared/test/common/mocks/mock_host_ptr_manager.h"
2728

2829
#include "opencl/source/helpers/memory_properties_helpers.h"
2930
#include "opencl/source/mem_obj/buffer.h"
@@ -34,7 +35,6 @@
3435
#include "opencl/test/unit_test/mocks/mock_buffer.h"
3536
#include "opencl/test/unit_test/mocks/mock_gmm.h"
3637
#include "opencl/test/unit_test/mocks/mock_gmm_page_table_mngr.h"
37-
#include "opencl/test/unit_test/mocks/mock_host_ptr_manager.h"
3838
#include "opencl/test/unit_test/mocks/mock_program.h"
3939
#include "opencl/test/unit_test/mocks/mock_submissions_aggregator.h"
4040
#include "opencl/test/unit_test/os_interface/linux/drm_command_stream_fixture.h"

opencl/test/unit_test/os_interface/linux/drm_command_stream_tests_2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "shared/test/common/cmd_parse/hw_parse.h"
2323
#include "shared/test/common/helpers/debug_manager_state_restore.h"
2424
#include "shared/test/common/helpers/dispatch_flags_helper.h"
25+
#include "shared/test/common/mocks/mock_host_ptr_manager.h"
2526

2627
#include "opencl/source/helpers/memory_properties_helpers.h"
2728
#include "opencl/source/mem_obj/buffer.h"
@@ -32,7 +33,6 @@
3233
#include "opencl/test/unit_test/mocks/mock_buffer.h"
3334
#include "opencl/test/unit_test/mocks/mock_gmm.h"
3435
#include "opencl/test/unit_test/mocks/mock_gmm_page_table_mngr.h"
35-
#include "opencl/test/unit_test/mocks/mock_host_ptr_manager.h"
3636
#include "opencl/test/unit_test/mocks/mock_program.h"
3737
#include "opencl/test/unit_test/mocks/mock_submissions_aggregator.h"
3838
#include "opencl/test/unit_test/os_interface/linux/drm_command_stream_fixture.h"

opencl/test/unit_test/os_interface/windows/mock_wddm_memory_manager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#pragma once
99
#include "shared/source/memory_manager/deferred_deleter.h"
1010
#include "shared/source/os_interface/windows/wddm_memory_manager.h"
11+
#include "shared/test/common/mocks/mock_host_ptr_manager.h"
1112

1213
#include "opencl/test/unit_test/mocks/mock_allocation_properties.h"
13-
#include "opencl/test/unit_test/mocks/mock_host_ptr_manager.h"
1414
#include "opencl/test/unit_test/mocks/mock_memory_manager.h"
1515

1616
namespace NEO {

shared/test/common/mocks/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ set(NEO_CORE_tests_mocks
4646
${CMAKE_CURRENT_SOURCE_DIR}/mock_gmm_client_context_base.cpp
4747
${CMAKE_CURRENT_SOURCE_DIR}/mock_gmm_client_context_base.h
4848
${CMAKE_CURRENT_SOURCE_DIR}/mock_graphics_allocation.h
49+
${CMAKE_CURRENT_SOURCE_DIR}/mock_host_ptr_manager.h
4950
${CMAKE_CURRENT_SOURCE_DIR}/mock_hw_info_config.cpp
5051
${CMAKE_CURRENT_SOURCE_DIR}/mock_io_functions.h
5152
${CMAKE_CURRENT_SOURCE_DIR}/mock_memory_operations_handler.h

shared/test/common/mocks/linux/mock_drm_memory_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
#include "shared/source/os_interface/linux/allocator_helper.h"
1111
#include "shared/source/os_interface/linux/drm_memory_manager.h"
12+
#include "shared/test/common/mocks/mock_host_ptr_manager.h"
1213

1314
#include "opencl/test/unit_test/mocks/mock_allocation_properties.h"
14-
#include "opencl/test/unit_test/mocks/mock_host_ptr_manager.h"
1515
#include "opencl/test/unit_test/mocks/mock_memory_manager.h"
1616

1717
#include <atomic>
File renamed without changes.

0 commit comments

Comments
 (0)