Skip to content

Commit 79ff544

Browse files
Move file to shared
Signed-off-by: Mateusz Hoppe <[email protected]>
1 parent 39b4c87 commit 79ff544

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

level_zero/core/test/unit_tests/fixtures/host_pointer_manager_fixture.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
#include "shared/test/common/helpers/debug_manager_state_restore.h"
1313
#include "shared/test/common/helpers/default_hw_info.h"
1414
#include "shared/test/common/mocks/mock_device.h"
15+
#include "shared/test/common/mocks/mock_memory_operations_handler.h"
1516

1617
#include "opencl/source/os_interface/os_inc_base.h"
1718
#include "opencl/test/unit_test/mocks/mock_compilers.h"
18-
#include "opencl/test/unit_test/mocks/mock_memory_operations_handler.h"
1919

2020
#include "level_zero/core/test/unit_tests/fixtures/device_fixture.h"
2121
#include "level_zero/core/test/unit_tests/mocks/mock_built_ins.h"

level_zero/core/test/unit_tests/sources/event/test_event.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
*
66
*/
77

8+
#include "shared/test/common/mocks/mock_memory_operations_handler.h"
9+
810
#include "opencl/test/unit_test/mocks/mock_compilers.h"
911
#include "opencl/test/unit_test/mocks/mock_csr.h"
1012
#include "opencl/test/unit_test/mocks/mock_memory_manager.h"
11-
#include "opencl/test/unit_test/mocks/mock_memory_operations_handler.h"
1213
#include "test.h"
1314

1415
#include "level_zero/core/source/context/context_imp.h"

opencl/test/unit_test/aub_tests/fixtures/aub_fixture.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include "shared/source/helpers/hw_helper.h"
1111
#include "shared/source/os_interface/os_interface.h"
1212
#include "shared/test/common/mocks/mock_device.h"
13+
#include "shared/test/common/mocks/mock_memory_operations_handler.h"
1314
#include "shared/test/unit_test/tests_configuration.h"
1415

1516
#include "opencl/source/command_stream/aub_command_stream_receiver_hw.h"
@@ -18,7 +19,6 @@
1819
#include "opencl/source/platform/platform.h"
1920
#include "opencl/test/unit_test/command_queue/command_queue_fixture.h"
2021
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
21-
#include "opencl/test/unit_test/mocks/mock_memory_operations_handler.h"
2222
#include "opencl/test/unit_test/mocks/mock_platform.h"
2323

2424
#include "aub_mem_dump.h"

opencl/test/unit_test/execution_environment/execution_environment_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
#include "shared/source/source_level_debugger/source_level_debugger.h"
2020
#include "shared/test/common/helpers/debug_manager_state_restore.h"
2121
#include "shared/test/common/mocks/mock_device.h"
22+
#include "shared/test/common/mocks/mock_memory_operations_handler.h"
2223
#include "shared/test/unit_test/utilities/destructor_counted.h"
2324

2425
#include "opencl/source/cl_device/cl_device.h"
2526
#include "opencl/test/unit_test/mocks/mock_async_event_handler.h"
2627
#include "opencl/test/unit_test/mocks/mock_cl_execution_environment.h"
2728
#include "opencl/test/unit_test/mocks/mock_execution_environment.h"
2829
#include "opencl/test/unit_test/mocks/mock_memory_manager.h"
29-
#include "opencl/test/unit_test/mocks/mock_memory_operations_handler.h"
3030
#include "test.h"
3131

3232
using namespace NEO;

opencl/test/unit_test/mocks/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ set(IGDRCL_SRCS_tests_mocks
5959
${CMAKE_CURRENT_SOURCE_DIR}/mock_lrca_helper.h
6060
${CMAKE_CURRENT_SOURCE_DIR}/mock_memory_manager.cpp
6161
${CMAKE_CURRENT_SOURCE_DIR}/mock_memory_manager.h
62-
${CMAKE_CURRENT_SOURCE_DIR}/mock_memory_operations_handler.h
6362
${CMAKE_CURRENT_SOURCE_DIR}/mock_os_context.h
6463
${CMAKE_CURRENT_SOURCE_DIR}/mock_ostime.h
6564
${CMAKE_CURRENT_SOURCE_DIR}/mock_platform.cpp

shared/test/common/mocks/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ set(NEO_CORE_tests_mocks
2222
${CMAKE_CURRENT_SOURCE_DIR}/mock_graphics_allocation.h
2323
${CMAKE_CURRENT_SOURCE_DIR}/mock_gfx_partition.cpp
2424
${CMAKE_CURRENT_SOURCE_DIR}/mock_gfx_partition.h
25+
${CMAKE_CURRENT_SOURCE_DIR}/mock_memory_operations_handler.h
2526
${CMAKE_CURRENT_SOURCE_DIR}/mock_os_library.h
2627
${CMAKE_CURRENT_SOURCE_DIR}/mock_sip.cpp
2728
${CMAKE_CURRENT_SOURCE_DIR}/mock_sip.h

opencl/test/unit_test/mocks/mock_memory_operations_handler.h renamed to shared/test/common/mocks/mock_memory_operations_handler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2019-2020 Intel Corporation
2+
* Copyright (C) 2019-2021 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*

shared/test/unit_test/page_fault_manager/linux/cpu_page_fault_manager_linux_tests.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@
99
#include "shared/test/common/helpers/debug_manager_state_restore.h"
1010
#include "shared/test/common/mocks/mock_device.h"
1111
#include "shared/test/common/mocks/mock_graphics_allocation.h"
12+
#include "shared/test/common/mocks/mock_memory_operations_handler.h"
1213
#include "shared/test/unit_test/page_fault_manager/cpu_page_fault_manager_tests_fixture.h"
1314
#include "shared/test/unit_test/page_fault_manager/mock_cpu_page_fault_manager.h"
1415

15-
#include "opencl/test/unit_test/mocks/mock_memory_operations_handler.h"
16-
1716
#include "gtest/gtest.h"
1817

1918
#include <csignal>

0 commit comments

Comments
 (0)