Move files from shared/test/unit_test to /common (preamble, utilities)
unit_test/preamble/preamble_fixture.h -> common/fixtures unit_test/source_level_debugger -> common/ unit_test/utilities/base_object_utils.h -> common/utilities unit_test/utilities/destructor_counted.h -> common/utilities unit_test/utilities/logger_tests.h -> common/utilities Related-To: NEO-6524 Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
This commit is contained in:
parent
649cd3441a
commit
d795182eae
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "shared/source/device/device.h"
|
#include "shared/source/device/device.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/context/context.h"
|
#include "opencl/source/context/context.h"
|
||||||
#include "opencl/source/helpers/base_object.h"
|
#include "opencl/source/helpers/base_object.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2018-2021 Intel Corporation
|
* Copyright (C) 2018-2022 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include "shared/source/device/device.h"
|
#include "shared/source/device/device.h"
|
||||||
#include "shared/test/common/mocks/mock_device.h"
|
#include "shared/test/common/mocks/mock_device.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/context/context.h"
|
#include "opencl/source/context/context.h"
|
||||||
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
|
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include "shared/test/common/cmd_parse/hw_parse.h"
|
#include "shared/test/common/cmd_parse/hw_parse.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/extensions/public/cl_ext_private.h"
|
#include "opencl/extensions/public/cl_ext_private.h"
|
||||||
#include "opencl/source/api/api.h"
|
#include "opencl/source/api/api.h"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include "shared/source/device/device.h"
|
#include "shared/source/device/device.h"
|
||||||
#include "shared/test/common/mocks/mock_memory_manager.h"
|
#include "shared/test/common/mocks/mock_memory_manager.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/context/context.h"
|
#include "opencl/source/context/context.h"
|
||||||
#include "opencl/test/unit_test/mocks/mock_platform.h"
|
#include "opencl/test/unit_test/mocks/mock_platform.h"
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
#include "shared/test/unit_test/tests_configuration.h"
|
#include "shared/test/unit_test/tests_configuration.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
|
||||||
|
|
||||||
#include "opencl/source/mem_obj/buffer.h"
|
#include "opencl/source/mem_obj/buffer.h"
|
||||||
#include "opencl/test/unit_test/aub_tests/fixtures/multicontext_aub_fixture.h"
|
#include "opencl/test/unit_test/aub_tests/fixtures/multicontext_aub_fixture.h"
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#include "shared/source/os_interface/hw_info_config.h"
|
#include "shared/source/os_interface/hw_info_config.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/mocks/mock_device.h"
|
#include "shared/test/common/mocks/mock_device.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/extensions/public/cl_ext_private.h"
|
#include "opencl/extensions/public/cl_ext_private.h"
|
||||||
#include "opencl/source/cl_device/cl_device.h"
|
#include "opencl/source/cl_device/cl_device.h"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/api/api.h"
|
#include "opencl/source/api/api.h"
|
||||||
#include "opencl/test/unit_test/aub_tests/fixtures/aub_fixture.h"
|
#include "opencl/test/unit_test/aub_tests/fixtures/aub_fixture.h"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/api/api.h"
|
#include "opencl/source/api/api.h"
|
||||||
#include "opencl/source/platform/platform.h"
|
#include "opencl/source/platform/platform.h"
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include "shared/test/common/mocks/mock_memory_manager.h"
|
#include "shared/test/common/mocks/mock_memory_manager.h"
|
||||||
#include "shared/test/common/mocks/ult_device_factory.h"
|
#include "shared/test/common/mocks/ult_device_factory.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/built_ins/aux_translation_builtin.h"
|
#include "opencl/source/built_ins/aux_translation_builtin.h"
|
||||||
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include "shared/test/common/mocks/mock_device.h"
|
#include "shared/test/common/mocks/mock_device.h"
|
||||||
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/event/user_event.h"
|
#include "opencl/source/event/user_event.h"
|
||||||
#include "opencl/source/mem_obj/buffer.h"
|
#include "opencl/source/mem_obj/buffer.h"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include "shared/test/common/mocks/mock_device.h"
|
#include "shared/test/common/mocks/mock_device.h"
|
||||||
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/event/user_event.h"
|
#include "opencl/source/event/user_event.h"
|
||||||
#include "opencl/source/mem_obj/buffer.h"
|
#include "opencl/source/mem_obj/buffer.h"
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#include "shared/test/common/helpers/variable_backup.h"
|
#include "shared/test/common/helpers/variable_backup.h"
|
||||||
#include "shared/test/common/mocks/mock_device.h"
|
#include "shared/test/common/mocks/mock_device.h"
|
||||||
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/event/user_event.h"
|
#include "opencl/source/event/user_event.h"
|
||||||
#include "opencl/source/mem_obj/buffer.h"
|
#include "opencl/source/mem_obj/buffer.h"
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#include "shared/test/common/mocks/mock_csr.h"
|
#include "shared/test/common/mocks/mock_csr.h"
|
||||||
#include "shared/test/common/mocks/mock_os_library.h"
|
#include "shared/test/common/mocks/mock_os_library.h"
|
||||||
#include "shared/test/common/mocks/mock_source_level_debugger.h"
|
#include "shared/test/common/mocks/mock_source_level_debugger.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/test/unit_test/command_queue/command_queue_fixture.h"
|
#include "opencl/test/unit_test/command_queue/command_queue_fixture.h"
|
||||||
#include "opencl/test/unit_test/fixtures/buffer_fixture.h"
|
#include "opencl/test/unit_test/fixtures/buffer_fixture.h"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include "shared/test/common/cmd_parse/hw_parse.h"
|
#include "shared/test/common/cmd_parse/hw_parse.h"
|
||||||
#include "shared/test/common/mocks/mock_builtins.h"
|
#include "shared/test/common/mocks/mock_builtins.h"
|
||||||
#include "shared/test/common/mocks/mock_csr.h"
|
#include "shared/test/common/mocks/mock_csr.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
||||||
#include "opencl/source/helpers/dispatch_info_builder.h"
|
#include "opencl/source/helpers/dispatch_info_builder.h"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/mocks/mock_graphics_allocation.h"
|
#include "shared/test/common/mocks/mock_graphics_allocation.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/test/unit_test/command_queue/command_queue_fixture.h"
|
#include "opencl/test/unit_test/command_queue/command_queue_fixture.h"
|
||||||
#include "opencl/test/unit_test/fixtures/buffer_fixture.h"
|
#include "opencl/test/unit_test/fixtures/buffer_fixture.h"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include "shared/test/common/mocks/mock_os_context.h"
|
#include "shared/test/common/mocks/mock_os_context.h"
|
||||||
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/event/user_event.h"
|
#include "opencl/source/event/user_event.h"
|
||||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/mocks/mock_csr.h"
|
#include "shared/test/common/mocks/mock_csr.h"
|
||||||
#include "shared/test/common/mocks/ult_device_factory.h"
|
#include "shared/test/common/mocks/ult_device_factory.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/test/unit_test/command_queue/enqueue_fixture.h"
|
#include "opencl/test/unit_test/command_queue/enqueue_fixture.h"
|
||||||
#include "opencl/test/unit_test/fixtures/hello_world_fixture.h"
|
#include "opencl/test/unit_test/fixtures/hello_world_fixture.h"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
||||||
#include "opencl/source/event/event.h"
|
#include "opencl/source/event/event.h"
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include "shared/test/common/helpers/unit_test_helper.h"
|
#include "shared/test/common/helpers/unit_test_helper.h"
|
||||||
#include "shared/test/common/mocks/mock_execution_environment.h"
|
#include "shared/test/common/mocks/mock_execution_environment.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
||||||
#include "opencl/source/helpers/dispatch_info.h"
|
#include "opencl/source/helpers/dispatch_info.h"
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
#include "shared/test/common/mocks/mock_graphics_allocation.h"
|
#include "shared/test/common/mocks/mock_graphics_allocation.h"
|
||||||
#include "shared/test/common/mocks/mock_svm_manager.h"
|
#include "shared/test/common/mocks/mock_svm_manager.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
#include "shared/test/unit_test/page_fault_manager/mock_cpu_page_fault_manager.h"
|
#include "shared/test/unit_test/page_fault_manager/mock_cpu_page_fault_manager.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
|
||||||
|
|
||||||
#include "opencl/source/event/user_event.h"
|
#include "opencl/source/event/user_event.h"
|
||||||
#include "opencl/test/unit_test/command_queue/command_queue_fixture.h"
|
#include "opencl/test/unit_test/command_queue/command_queue_fixture.h"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include "shared/source/helpers/compiler_hw_info_config.h"
|
#include "shared/source/helpers/compiler_hw_info_config.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
||||||
#include "opencl/source/event/event.h"
|
#include "opencl/source/event/event.h"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include "shared/test/common/helpers/unit_test_helper.h"
|
#include "shared/test/common/helpers/unit_test_helper.h"
|
||||||
#include "shared/test/common/mocks/mock_execution_environment.h"
|
#include "shared/test/common/mocks/mock_execution_environment.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
||||||
#include "opencl/source/helpers/dispatch_info.h"
|
#include "opencl/source/helpers/dispatch_info.h"
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
||||||
#include "shared/test/common/mocks/ult_device_factory.h"
|
#include "shared/test/common/mocks/ult_device_factory.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/event/user_event.h"
|
#include "opencl/source/event/user_event.h"
|
||||||
#include "opencl/source/helpers/cl_blit_properties.h"
|
#include "opencl/source/helpers/cl_blit_properties.h"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include "shared/test/common/mocks/mock_memory_manager.h"
|
#include "shared/test/common/mocks/mock_memory_manager.h"
|
||||||
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/event/user_event.h"
|
#include "opencl/source/event/user_event.h"
|
||||||
#include "opencl/source/helpers/cl_blit_properties.h"
|
#include "opencl/source/helpers/cl_blit_properties.h"
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
||||||
#include "shared/test/common/mocks/ult_device_factory.h"
|
#include "shared/test/common/mocks/ult_device_factory.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||||
#include "opencl/source/command_queue/resource_barrier.h"
|
#include "opencl/source/command_queue/resource_barrier.h"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/helpers/variable_backup.h"
|
#include "shared/test/common/helpers/variable_backup.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/context/context.h"
|
#include "opencl/source/context/context.h"
|
||||||
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/test_macros/mock_method_macros.h"
|
#include "shared/test/common/test_macros/mock_method_macros.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/event/async_events_handler.h"
|
#include "opencl/source/event/async_events_handler.h"
|
||||||
#include "opencl/source/event/event.h"
|
#include "opencl/source/event/event.h"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "shared/source/command_stream/wait_status.h"
|
#include "shared/source/command_stream/wait_status.h"
|
||||||
#include "shared/source/helpers/aligned_memory.h"
|
#include "shared/source/helpers/aligned_memory.h"
|
||||||
#include "shared/source/helpers/ptr_math.h"
|
#include "shared/source/helpers/ptr_math.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/command_queue/command_queue.h"
|
#include "opencl/source/command_queue/command_queue.h"
|
||||||
#include "opencl/source/event/user_event.h"
|
#include "opencl/source/event/user_event.h"
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#include "shared/test/common/mocks/mock_memory_manager.h"
|
#include "shared/test/common/mocks/mock_memory_manager.h"
|
||||||
#include "shared/test/common/mocks/mock_memory_operations_handler.h"
|
#include "shared/test/common/mocks/mock_memory_operations_handler.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/destructor_counted.h"
|
#include "shared/test/common/utilities/destructor_counted.h"
|
||||||
|
|
||||||
#include "opencl/source/cl_device/cl_device.h"
|
#include "opencl/source/cl_device/cl_device.h"
|
||||||
#include "opencl/test/unit_test/mocks/mock_async_event_handler.h"
|
#include "opencl/test/unit_test/mocks/mock_async_event_handler.h"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/mocks/mock_memory_manager.h"
|
#include "shared/test/common/mocks/mock_memory_manager.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/cl_device/cl_device.h"
|
#include "opencl/source/cl_device/cl_device.h"
|
||||||
#include "opencl/source/mem_obj/buffer.h"
|
#include "opencl/source/mem_obj/buffer.h"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include "shared/test/common/helpers/variable_backup.h"
|
#include "shared/test/common/helpers/variable_backup.h"
|
||||||
#include "shared/test/common/mocks/mock_execution_environment.h"
|
#include "shared/test/common/mocks/mock_execution_environment.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/destructor_counted.h"
|
#include "shared/test/common/utilities/destructor_counted.h"
|
||||||
|
|
||||||
namespace NEO {
|
namespace NEO {
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include "shared/test/common/mocks/mock_allocation_properties.h"
|
#include "shared/test/common/mocks/mock_allocation_properties.h"
|
||||||
#include "shared/test/common/mocks/mock_graphics_allocation.h"
|
#include "shared/test/common/mocks/mock_graphics_allocation.h"
|
||||||
#include "shared/test/common/test_macros/test_checks_shared.h"
|
#include "shared/test/common/test_macros/test_checks_shared.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/api/api.h"
|
#include "opencl/source/api/api.h"
|
||||||
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
#include "shared/source/command_stream/stream_properties.h"
|
#include "shared/source/command_stream/stream_properties.h"
|
||||||
#include "shared/source/debug_settings/debug_settings_manager.h"
|
#include "shared/source/debug_settings/debug_settings_manager.h"
|
||||||
#include "shared/source/os_interface/hw_info_config.h"
|
#include "shared/source/os_interface/hw_info_config.h"
|
||||||
|
#include "shared/test/common/fixtures/preamble_fixture.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/preamble/preamble_fixture.h"
|
|
||||||
|
|
||||||
#include "opencl/source/helpers/hardware_commands_helper.h"
|
#include "opencl/source/helpers/hardware_commands_helper.h"
|
||||||
|
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
#include "shared/source/gmm_helper/client_context/gmm_client_context.h"
|
#include "shared/source/gmm_helper/client_context/gmm_client_context.h"
|
||||||
#include "shared/source/helpers/hw_helper.h"
|
#include "shared/source/helpers/hw_helper.h"
|
||||||
#include "shared/source/helpers/state_base_address.h"
|
#include "shared/source/helpers/state_base_address.h"
|
||||||
|
#include "shared/test/common/fixtures/preamble_fixture.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/unit_test/preamble/preamble_fixture.h"
|
|
||||||
|
|
||||||
#include "opencl/source/helpers/hardware_commands_helper.h"
|
#include "opencl/source/helpers/hardware_commands_helper.h"
|
||||||
#include "opencl/source/mem_obj/buffer.h"
|
#include "opencl/source/mem_obj/buffer.h"
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#include "shared/test/common/mocks/mock_execution_environment.h"
|
#include "shared/test/common/mocks/mock_execution_environment.h"
|
||||||
#include "shared/test/common/mocks/mock_memory_manager.h"
|
#include "shared/test/common/mocks/mock_memory_manager.h"
|
||||||
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/command_queue/gpgpu_walker.h"
|
#include "opencl/source/command_queue/gpgpu_walker.h"
|
||||||
#include "opencl/source/command_queue/hardware_interface.h"
|
#include "opencl/source/command_queue/hardware_interface.h"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include "shared/test/common/cmd_parse/hw_parse.h"
|
#include "shared/test/common/cmd_parse/hw_parse.h"
|
||||||
#include "shared/test/common/mocks/mock_command_stream_receiver.h"
|
#include "shared/test/common/mocks/mock_command_stream_receiver.h"
|
||||||
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/event/user_event.h"
|
#include "opencl/source/event/user_event.h"
|
||||||
#include "opencl/test/unit_test/helpers/timestamp_packet_tests.h"
|
#include "opencl/test/unit_test/helpers/timestamp_packet_tests.h"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include "shared/source/memory_manager/unified_memory_manager.h"
|
#include "shared/source/memory_manager/unified_memory_manager.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/accelerators/intel_accelerator.h"
|
#include "opencl/source/accelerators/intel_accelerator.h"
|
||||||
#include "opencl/source/accelerators/intel_motion_estimation.h"
|
#include "opencl/source/accelerators/intel_motion_estimation.h"
|
||||||
|
|
|
@ -26,8 +26,8 @@
|
||||||
#include "shared/test/common/mocks/mock_memory_manager.h"
|
#include "shared/test/common/mocks/mock_memory_manager.h"
|
||||||
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
#include "shared/test/unit_test/page_fault_manager/mock_cpu_page_fault_manager.h"
|
#include "shared/test/unit_test/page_fault_manager/mock_cpu_page_fault_manager.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
|
||||||
|
|
||||||
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
|
||||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#include "shared/test/common/mocks/mock_memory_manager.h"
|
#include "shared/test/common/mocks/mock_memory_manager.h"
|
||||||
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/api/api.h"
|
#include "opencl/source/api/api.h"
|
||||||
#include "opencl/source/event/user_event.h"
|
#include "opencl/source/event/user_event.h"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "shared/test/common/mocks/mock_device.h"
|
#include "shared/test/common/mocks/mock_device.h"
|
||||||
#include "shared/test/common/mocks/mock_memory_manager.h"
|
#include "shared/test/common/mocks/mock_memory_manager.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/extensions/public/cl_ext_private.h"
|
#include "opencl/extensions/public/cl_ext_private.h"
|
||||||
#include "opencl/source/cl_device/cl_device.h"
|
#include "opencl/source/cl_device/cl_device.h"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "shared/test/common/mocks/mock_device.h"
|
#include "shared/test/common/mocks/mock_device.h"
|
||||||
#include "shared/test/common/mocks/mock_memory_manager.h"
|
#include "shared/test/common/mocks/mock_memory_manager.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/helpers/surface_formats.h"
|
#include "opencl/source/helpers/surface_formats.h"
|
||||||
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
|
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include "shared/source/os_interface/hw_info_config.h"
|
#include "shared/source/os_interface/hw_info_config.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/mocks/ult_device_factory.h"
|
#include "shared/test/common/mocks/ult_device_factory.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||||
#include "opencl/source/helpers/cl_memory_properties_helpers.h"
|
#include "opencl/source/helpers/cl_memory_properties_helpers.h"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "shared/test/common/fixtures/mock_execution_environment_gmm_fixture.h"
|
#include "shared/test/common/fixtures/mock_execution_environment_gmm_fixture.h"
|
||||||
#include "shared/test/common/mocks/mock_execution_environment.h"
|
#include "shared/test/common/mocks/mock_execution_environment.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/logger_tests.h"
|
#include "shared/test/common/utilities/logger_tests.h"
|
||||||
|
|
||||||
#include "opencl/test/unit_test/os_interface/windows/mock_wddm_allocation.h"
|
#include "opencl/test/unit_test/os_interface/windows/mock_wddm_allocation.h"
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include "shared/test/common/mocks/mock_memory_manager.h"
|
#include "shared/test/common/mocks/mock_memory_manager.h"
|
||||||
#include "shared/test/common/mocks/mock_os_context.h"
|
#include "shared/test/common/mocks/mock_os_context.h"
|
||||||
#include "shared/test/common/mocks/ult_device_factory.h"
|
#include "shared/test/common/mocks/ult_device_factory.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/helpers/cl_memory_properties_helpers.h"
|
#include "opencl/source/helpers/cl_memory_properties_helpers.h"
|
||||||
#include "opencl/source/mem_obj/buffer.h"
|
#include "opencl/source/mem_obj/buffer.h"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
#include "shared/test/common/mocks/mock_timestamp_container.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||||
#include "opencl/source/command_queue/enqueue_common.h"
|
#include "opencl/source/command_queue/enqueue_common.h"
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#include "shared/test/common/mocks/mock_compiler_interface.h"
|
#include "shared/test/common/mocks/mock_compiler_interface.h"
|
||||||
#include "shared/test/common/mocks/mock_graphics_allocation.h"
|
#include "shared/test/common/mocks/mock_graphics_allocation.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/gtpin/gtpin_notify.h"
|
#include "opencl/source/gtpin/gtpin_notify.h"
|
||||||
#include "opencl/source/helpers/hardware_commands_helper.h"
|
#include "opencl/source/helpers/hardware_commands_helper.h"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/event/user_event.h"
|
#include "opencl/source/event/user_event.h"
|
||||||
#include "opencl/test/unit_test/fixtures/scenario_test_fixture.h"
|
#include "opencl/test/unit_test/fixtures/scenario_test_fixture.h"
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
|
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/helpers/gtest_helpers.h"
|
#include "shared/test/common/helpers/gtest_helpers.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
#include "shared/test/unit_test/utilities/logger_tests.h"
|
#include "shared/test/common/utilities/logger_tests.h"
|
||||||
|
|
||||||
#include "opencl/test/unit_test/fixtures/buffer_fixture.h"
|
#include "opencl/test/unit_test/fixtures/buffer_fixture.h"
|
||||||
#include "opencl/test/unit_test/fixtures/image_fixture.h"
|
#include "opencl/test/unit_test/fixtures/image_fixture.h"
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#include "shared/test/common/mocks/mock_device.h"
|
#include "shared/test/common/mocks/mock_device.h"
|
||||||
#include "shared/test/common/mocks/mock_gmm.h"
|
#include "shared/test/common/mocks/mock_gmm.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||||
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
|
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include "shared/test/common/mocks/mock_allocation_properties.h"
|
#include "shared/test/common/mocks/mock_allocation_properties.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/test/unit_test/kernel/cache_flush_xehp_and_later_tests.inl"
|
#include "opencl/test/unit_test/kernel/cache_flush_xehp_and_later_tests.inl"
|
||||||
#include "opencl/test/unit_test/mocks/mock_command_queue.h"
|
#include "opencl/test/unit_test/mocks/mock_command_queue.h"
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
|
|
||||||
#include "shared/source/command_stream/stream_properties.h"
|
#include "shared/source/command_stream/stream_properties.h"
|
||||||
#include "shared/source/debug_settings/debug_settings_manager.h"
|
#include "shared/source/debug_settings/debug_settings_manager.h"
|
||||||
|
#include "shared/test/common/fixtures/preamble_fixture.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/preamble/preamble_fixture.h"
|
|
||||||
|
|
||||||
#include "opencl/source/helpers/hardware_commands_helper.h"
|
#include "opencl/source/helpers/hardware_commands_helper.h"
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#include "shared/test/common/mocks/mock_graphics_allocation.h"
|
#include "shared/test/common/mocks/mock_graphics_allocation.h"
|
||||||
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/command_queue/command_queue_hw.h"
|
#include "opencl/source/command_queue/command_queue_hw.h"
|
||||||
#include "opencl/source/mem_obj/buffer.h"
|
#include "opencl/source/mem_obj/buffer.h"
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#include "shared/test/common/libult/ult_aub_command_stream_receiver.h"
|
#include "shared/test/common/libult/ult_aub_command_stream_receiver.h"
|
||||||
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/helpers/cl_memory_properties_helpers.h"
|
#include "opencl/source/helpers/cl_memory_properties_helpers.h"
|
||||||
#include "opencl/source/mem_obj/buffer.h"
|
#include "opencl/source/mem_obj/buffer.h"
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include "shared/test/common/mocks/mock_graphics_allocation.h"
|
#include "shared/test/common/mocks/mock_graphics_allocation.h"
|
||||||
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/mem_obj/buffer.h"
|
#include "opencl/source/mem_obj/buffer.h"
|
||||||
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
|
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include "shared/source/os_interface/hw_info_config.h"
|
#include "shared/source/os_interface/hw_info_config.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/test_macros/hw_test.h"
|
#include "shared/test/common/test_macros/hw_test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "opencl/source/sampler/sampler.h"
|
#include "opencl/source/sampler/sampler.h"
|
||||||
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
#include "shared/source/gmm_helper/client_context/gmm_client_context.h"
|
#include "shared/source/gmm_helper/client_context/gmm_client_context.h"
|
||||||
#include "shared/source/gmm_helper/gmm_helper.h"
|
#include "shared/source/gmm_helper/gmm_helper.h"
|
||||||
#include "shared/source/helpers/state_base_address.h"
|
#include "shared/source/helpers/state_base_address.h"
|
||||||
|
#include "shared/test/common/fixtures/preamble_fixture.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/preamble/preamble_fixture.h"
|
|
||||||
|
|
||||||
#include "opencl/source/helpers/cl_memory_properties_helpers.h"
|
#include "opencl/source/helpers/cl_memory_properties_helpers.h"
|
||||||
#include "opencl/source/mem_obj/buffer.h"
|
#include "opencl/source/mem_obj/buffer.h"
|
||||||
|
|
|
@ -8,6 +8,7 @@ target_sources(neo_libult_common PRIVATE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/linear_stream_fixture.h
|
${CMAKE_CURRENT_SOURCE_DIR}/linear_stream_fixture.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/mock_aub_center_fixture.h
|
${CMAKE_CURRENT_SOURCE_DIR}/mock_aub_center_fixture.h
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/preamble_fixture.h
|
||||||
)
|
)
|
||||||
|
|
||||||
add_subdirectories()
|
add_subdirectories()
|
|
@ -1,11 +1,9 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2021 Intel Corporation
|
# Copyright (C) 2021-2022 Intel Corporation
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_libult_common PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt)
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
||||||
)
|
|
||||||
|
|
||||||
add_subdirectories()
|
add_subdirectories()
|
|
@ -5,15 +5,16 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_libult_common PRIVATE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/drm_command_stream_fixture.h
|
${CMAKE_CURRENT_SOURCE_DIR}/drm_command_stream_fixture.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/drm_memory_manager_fixture.h
|
${CMAKE_CURRENT_SOURCE_DIR}/drm_memory_manager_fixture.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/drm_mock_cache_info.h
|
${CMAKE_CURRENT_SOURCE_DIR}/drm_mock_cache_info.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/drm_mock_device_blob.h
|
${CMAKE_CURRENT_SOURCE_DIR}/drm_mock_device_blob.h
|
||||||
)
|
)
|
||||||
|
|
||||||
if(NEO_ENABLE_i915_PRELIM_DETECTION)
|
if(NEO_ENABLE_i915_PRELIM_DETECTION)
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_libult_common PRIVATE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/device_command_stream_fixture_context.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/device_command_stream_fixture_context.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/device_command_stream_fixture_context.h
|
${CMAKE_CURRENT_SOURCE_DIR}/device_command_stream_fixture_context.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/device_command_stream_fixture_prelim.h
|
${CMAKE_CURRENT_SOURCE_DIR}/device_command_stream_fixture_prelim.h
|
||||||
|
@ -21,4 +22,5 @@ if(UNIX)
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
add_subdirectories()
|
|
||||||
|
add_subdirectories()
|
|
@ -1,15 +1,13 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2021 Intel Corporation
|
# Copyright (C) 2021-2022 Intel Corporation
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_libult_common PRIVATE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/gdi_dll_fixture.h
|
${CMAKE_CURRENT_SOURCE_DIR}/gdi_dll_fixture.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/mock_sys_calls.h
|
${CMAKE_CURRENT_SOURCE_DIR}/mock_sys_calls.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/mock_wddm_memory_manager.h
|
${CMAKE_CURRENT_SOURCE_DIR}/mock_wddm_memory_manager.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/wddm_fixture.h
|
${CMAKE_CURRENT_SOURCE_DIR}/wddm_fixture.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set_property(GLOBAL PROPERTY NEO_CORE_SHARED_TESTS_OS_INTERFACE_WINDOWS ${NEO_CORE_SHARED_TESTS_OS_INTERFACE_WINDOWS})
|
|
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2019-2020 Intel Corporation
|
# Copyright (C) 2019-2022 Intel Corporation
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
|
@ -0,0 +1,12 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2022 Intel Corporation
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
#
|
||||||
|
|
||||||
|
target_sources(neo_libult_common PRIVATE
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/base_object_utils.h
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/destructor_counted.h
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/logger_tests.h
|
||||||
|
)
|
|
@ -11,7 +11,7 @@
|
||||||
#include "shared/test/common/debug_settings/debug_settings_manager_fixture.h"
|
#include "shared/test/common/debug_settings/debug_settings_manager_fixture.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
|
@ -6,14 +6,14 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/unit_test/source_level_debugger/source_level_debugger_preamble_test.h"
|
#include "shared/test/common/source_level_debugger/source_level_debugger_preamble_test.h"
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
||||||
using namespace NEO;
|
using namespace NEO;
|
||||||
typedef Gen11Family GfxFamily;
|
typedef Gen11Family GfxFamily;
|
||||||
|
|
||||||
#include "shared/test/unit_test/source_level_debugger/source_level_debugger_preamble_test.inl"
|
#include "shared/test/common/source_level_debugger/source_level_debugger_preamble_test.inl"
|
||||||
|
|
||||||
using PreambleTestGen11 = ::testing::Test;
|
using PreambleTestGen11 = ::testing::Test;
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
#include "shared/source/command_container/command_encoder.h"
|
#include "shared/source/command_container/command_encoder.h"
|
||||||
#include "shared/source/command_stream/preemption.h"
|
#include "shared/source/command_stream/preemption.h"
|
||||||
#include "shared/source/command_stream/stream_properties.h"
|
#include "shared/source/command_stream/stream_properties.h"
|
||||||
|
#include "shared/test/common/fixtures/preamble_fixture.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/unit_test/preamble/preamble_fixture.h"
|
|
||||||
|
|
||||||
#include "reg_configs_common.h"
|
#include "reg_configs_common.h"
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
|
|
||||||
#include "shared/source/command_stream/preemption.h"
|
#include "shared/source/command_stream/preemption.h"
|
||||||
#include "shared/source/command_stream/stream_properties.h"
|
#include "shared/source/command_stream/stream_properties.h"
|
||||||
|
#include "shared/test/common/fixtures/preamble_fixture.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/unit_test/preamble/preamble_fixture.h"
|
|
||||||
|
|
||||||
#include "reg_configs_common.h"
|
#include "reg_configs_common.h"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "shared/source/command_stream/thread_arbitration_policy.h"
|
#include "shared/source/command_stream/thread_arbitration_policy.h"
|
||||||
#include "shared/source/gen8/reg_configs.h"
|
#include "shared/source/gen8/reg_configs.h"
|
||||||
#include "shared/source/helpers/preamble.h"
|
#include "shared/source/helpers/preamble.h"
|
||||||
#include "shared/test/unit_test/preamble/preamble_fixture.h"
|
#include "shared/test/common/fixtures/preamble_fixture.h"
|
||||||
|
|
||||||
using namespace NEO;
|
using namespace NEO;
|
||||||
|
|
||||||
|
|
|
@ -6,16 +6,16 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "shared/source/command_container/command_encoder.h"
|
#include "shared/source/command_container/command_encoder.h"
|
||||||
|
#include "shared/test/common/fixtures/preamble_fixture.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/unit_test/preamble/preamble_fixture.h"
|
#include "shared/test/common/source_level_debugger/source_level_debugger_preamble_test.h"
|
||||||
#include "shared/test/unit_test/source_level_debugger/source_level_debugger_preamble_test.h"
|
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
||||||
using namespace NEO;
|
using namespace NEO;
|
||||||
typedef Gen9Family GfxFamily;
|
typedef Gen9Family GfxFamily;
|
||||||
|
|
||||||
#include "shared/test/unit_test/source_level_debugger/source_level_debugger_preamble_test.inl"
|
#include "shared/test/common/source_level_debugger/source_level_debugger_preamble_test.inl"
|
||||||
|
|
||||||
using PreambleTestGen9 = ::testing::Test;
|
using PreambleTestGen9 = ::testing::Test;
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
#include "shared/source/gen9/reg_configs.h"
|
#include "shared/source/gen9/reg_configs.h"
|
||||||
#include "shared/source/helpers/preamble.h"
|
#include "shared/source/helpers/preamble.h"
|
||||||
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
|
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
|
||||||
|
#include "shared/test/common/fixtures/preamble_fixture.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/unit_test/preamble/preamble_fixture.h"
|
|
||||||
|
|
||||||
using namespace NEO;
|
using namespace NEO;
|
||||||
|
|
||||||
|
|
|
@ -4,34 +4,19 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
|
||||||
set(NEO_CORE_OS_INTERFACE_AUB_TESTS
|
target_sources(neo_shared_tests PRIVATE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/aub_memory_operations_handler_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/aub_memory_operations_handler_tests.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/aub_memory_operations_handler_tests.h
|
${CMAKE_CURRENT_SOURCE_DIR}/aub_memory_operations_handler_tests.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/os_context_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/device_uuid_tests.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/os_library_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_tests.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/os_memory_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/os_context_tests.cpp
|
||||||
)
|
${CMAKE_CURRENT_SOURCE_DIR}/os_library_tests.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/os_memory_tests.cpp
|
||||||
set(NEO_CORE_OS_INTERFACE_TESTS
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/device_uuid_tests.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_tests.cpp
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if(WIN32 OR(UNIX AND NOT DISABLE_WDDM_LINUX))
|
if(WIN32 OR(UNIX AND NOT DISABLE_WDDM_LINUX))
|
||||||
list(APPEND NEO_CORE_OS_INTERFACE_TESTS
|
target_sources(neo_shared_tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/gdi_interface_logging_tests.cpp)
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/gdi_interface_logging_tests.cpp
|
|
||||||
)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_property(GLOBAL PROPERTY NEO_CORE_OS_INTERFACE_TESTS ${NEO_CORE_OS_INTERFACE_TESTS})
|
add_subdirectories()
|
||||||
|
|
||||||
set_property(GLOBAL PROPERTY NEO_CORE_OS_INTERFACE_AUB_TESTS ${NEO_CORE_OS_INTERFACE_AUB_TESTS})
|
|
||||||
|
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
|
||||||
${NEO_CORE_OS_INTERFACE_TESTS}
|
|
||||||
${NEO_CORE_OS_INTERFACE_AUB_TESTS}
|
|
||||||
)
|
|
||||||
|
|
||||||
add_subdirectories()
|
|
|
@ -87,8 +87,7 @@ endif()
|
||||||
set_property(GLOBAL PROPERTY NEO_CORE_OS_INTERFACE_TESTS_LINUX ${NEO_CORE_OS_INTERFACE_TESTS_LINUX})
|
set_property(GLOBAL PROPERTY NEO_CORE_OS_INTERFACE_TESTS_LINUX ${NEO_CORE_OS_INTERFACE_TESTS_LINUX})
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_shared_tests PRIVATE ${NEO_CORE_OS_INTERFACE_TESTS_LINUX})
|
||||||
${NEO_CORE_OS_INTERFACE_TESTS_LINUX}
|
|
||||||
)
|
|
||||||
endif()
|
endif()
|
||||||
add_subdirectories()
|
|
||||||
|
add_subdirectories()
|
|
@ -9,7 +9,7 @@
|
||||||
#include "shared/test/common/libult/linux/drm_mock.h"
|
#include "shared/test/common/libult/linux/drm_mock.h"
|
||||||
#include "shared/test/common/mocks/linux/mock_drm_allocation.h"
|
#include "shared/test/common/mocks/linux/mock_drm_allocation.h"
|
||||||
#include "shared/test/common/test_macros/test.h"
|
#include "shared/test/common/test_macros/test.h"
|
||||||
#include "shared/test/unit_test/utilities/logger_tests.h"
|
#include "shared/test/common/utilities/logger_tests.h"
|
||||||
|
|
||||||
using namespace NEO;
|
using namespace NEO;
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,12 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2021 Intel Corporation
|
# Copyright (C) 2021-2022 Intel Corporation
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
|
||||||
set(NEO_CORE_OS_INTERFACE_TESTS_WDDM_LINUX
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/configure_device_address_space_drm_or_wddm_test.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
set_property(GLOBAL PROPERTY NEO_CORE_OS_INTERFACE_TESTS_WDDM_LINUX ${NEO_CORE_OS_INTERFACE_TESTS_WDDM_LINUX})
|
|
||||||
|
|
||||||
if(UNIX AND NOT DISABLE_WDDM_LINUX)
|
if(UNIX AND NOT DISABLE_WDDM_LINUX)
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_shared_tests PRIVATE
|
||||||
${NEO_CORE_OS_INTERFACE_TESTS_WDDM_LINUX}
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/configure_device_address_space_drm_or_wddm_test.cpp
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
|
@ -4,37 +4,31 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
|
||||||
set(NEO_CORE_OS_INTERFACE_TESTS_WINDOWS
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/adapter_info_tests.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/adapter_info_tests.h
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/deferrable_deletion_win_tests.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/device_command_stream_tests.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/gdi_interface_tests.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/gmm_helper_tests_win.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_win_tests.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_win_tests.h
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/os_context_win_tests.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/os_interface_win_tests.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/os_interface_win_tests.h
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/os_library_win_tests.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/self_lib_win.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/um_km_data_translator_tests.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/wddm_address_space_tests.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/wddm_command_stream_l0_tests.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/wddm_mapper_tests.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/wddm_preemption_tests.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/wddm_shared_allocations_test.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/wddm_special_heap_test.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/wddm_tests.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
set_property(GLOBAL PROPERTY NEO_CORE_OS_INTERFACE_TESTS_WINDOWS ${NEO_CORE_OS_INTERFACE_TESTS_WINDOWS})
|
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_shared_tests PRIVATE
|
||||||
${NEO_CORE_OS_INTERFACE_TESTS_WINDOWS}
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/adapter_info_tests.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/adapter_info_tests.h
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/deferrable_deletion_win_tests.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/device_command_stream_tests.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/gdi_interface_tests.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/gmm_helper_tests_win.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_win_tests.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/hw_info_config_win_tests.h
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/os_context_win_tests.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/os_interface_win_tests.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/os_interface_win_tests.h
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/os_library_win_tests.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/self_lib_win.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/um_km_data_translator_tests.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/wddm_address_space_tests.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/wddm_command_stream_l0_tests.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/wddm_mapper_tests.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/wddm_preemption_tests.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/wddm_shared_allocations_test.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/wddm_special_heap_test.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/wddm_tests.cpp
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectories()
|
add_subdirectories()
|
|
@ -1,20 +1,18 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2019-2021 Intel Corporation
|
# Copyright (C) 2019-2022 Intel Corporation
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
|
||||||
set(NEO_CORE_PREAMBLE_TESTS
|
set(NEO_CORE_PREAMBLE_TESTS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/preamble_fixture.h
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/preamble_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/preamble_tests.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
if(TESTS_XE_HPG_CORE)
|
if(TESTS_XE_HPG_CORE)
|
||||||
list(APPEND NEO_CORE_PREAMBLE_TESTS
|
list(APPEND NEO_CORE_PREAMBLE_TESTS ${CMAKE_CURRENT_SOURCE_DIR}/test_preamble_xe_hpg_core.cpp)
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/test_preamble_xe_hpg_core.cpp
|
|
||||||
)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_sources(${TARGET_NAME} PRIVATE ${NEO_CORE_PREAMBLE_TESTS})
|
target_sources(neo_shared_tests PRIVATE ${NEO_CORE_PREAMBLE_TESTS})
|
||||||
add_subdirectories()
|
|
||||||
|
add_subdirectories()
|
|
@ -1,18 +1,16 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2019-2021 Intel Corporation
|
# Copyright (C) 2019-2022 Intel Corporation
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_shared_tests PRIVATE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/preemption_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/preemption_tests.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
if(TESTS_XEHP_AND_LATER)
|
if(TESTS_XEHP_AND_LATER)
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_shared_tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/test_preemption_xehp_and_later.cpp)
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/test_preemption_xehp_and_later.cpp
|
|
||||||
)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectories()
|
add_subdirectories()
|
|
@ -1,18 +1,16 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020-2021 Intel Corporation
|
# Copyright (C) 2020-2022 Intel Corporation
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_shared_tests PRIVATE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/scratch_space_controler_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/scratch_space_controler_tests.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
if(TESTS_XEHP_AND_LATER)
|
if(TESTS_XEHP_AND_LATER)
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_shared_tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/scratch_space_controler_xehp_and_later_tests.cpp)
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/scratch_space_controler_xehp_and_later_tests.cpp
|
|
||||||
)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectories()
|
add_subdirectories()
|
|
@ -1,10 +1,10 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2019-2020 Intel Corporation
|
# Copyright (C) 2019-2022 Intel Corporation
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_shared_tests PRIVATE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/unified_memory_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/unified_memory_tests.cpp
|
||||||
)
|
)
|
|
@ -4,21 +4,18 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_shared_tests PRIVATE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}debug_file_reader_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}debug_file_reader_tests.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/base_object_utils.h
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/const_stringref_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/const_stringref_tests.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/containers_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/containers_tests.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/containers_tests_helpers.h
|
${CMAKE_CURRENT_SOURCE_DIR}/containers_tests_helpers.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/cpuintrinsics_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/cpuintrinsics_tests.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/debug_file_reader_tests.inl
|
${CMAKE_CURRENT_SOURCE_DIR}/debug_file_reader_tests.inl
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/debug_settings_reader_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/debug_settings_reader_tests.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/destructor_counted.h
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/heap_allocator_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/heap_allocator_tests.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/io_functions_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/io_functions_tests.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/logger_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/logger_tests.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/logger_tests.h
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/numeric_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/numeric_tests.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/perf_profiler_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/perf_profiler_tests.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/reference_tracked_object_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/reference_tracked_object_tests.cpp
|
||||||
|
@ -30,4 +27,4 @@ target_sources(${TARGET_NAME} PRIVATE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/wait_util_tests.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/wait_util_tests.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_subdirectories()
|
add_subdirectories()
|
|
@ -5,8 +5,8 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
if(${NEO_TARGET_PROCESSOR} STREQUAL "aarch64")
|
if(${NEO_TARGET_PROCESSOR} STREQUAL "aarch64")
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_shared_tests PRIVATE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/cpuinfo_tests_aarch64.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/cpuinfo_tests_aarch64.cpp
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
|
@ -1,16 +1,12 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2021 Intel Corporation
|
# Copyright (C) 2021-2022 Intel Corporation
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
|
||||||
set(UTILITIES_CPUINFO_TESTS_LINUX
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/cpuinfo_tests_linux.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_shared_tests PRIVATE
|
||||||
${UTILITIES_CPUINFO_TESTS_LINUX}
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/cpuinfo_tests_linux.cpp
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
|
@ -5,7 +5,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "shared/test/unit_test/utilities/logger_tests.h"
|
#include "shared/test/common/utilities/logger_tests.h"
|
||||||
|
|
||||||
#include "shared/source/memory_manager/allocation_type.h"
|
#include "shared/source/memory_manager/allocation_type.h"
|
||||||
#include "shared/source/memory_manager/memory_manager.h"
|
#include "shared/source/memory_manager/memory_manager.h"
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
#include "shared/source/utilities/logger.h"
|
#include "shared/source/utilities/logger.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/common/helpers/gtest_helpers.h"
|
#include "shared/test/common/helpers/gtest_helpers.h"
|
||||||
#include "shared/test/unit_test/utilities/base_object_utils.h"
|
#include "shared/test/common/utilities/base_object_utils.h"
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,12 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2021 Intel Corporation
|
# Copyright (C) 2021-2022 Intel Corporation
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
|
||||||
set(UTILITIES_CPUINFO_TESTS_WINDOWS
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/cpuinfo_tests_windows.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_shared_tests PRIVATE
|
||||||
${UTILITIES_CPUINFO_TESTS_WINDOWS}
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/cpuinfo_tests_windows.cpp
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
|
@ -5,10 +5,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
if(${NEO_TARGET_PROCESSOR} STREQUAL "x86_64")
|
if(${NEO_TARGET_PROCESSOR} STREQUAL "x86_64")
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_shared_tests PRIVATE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/cpuinfo_tests_x86_64.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/cpuinfo_tests_x86_64.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_subdirectories()
|
add_subdirectories()
|
||||||
endif()
|
endif()
|
|
@ -5,7 +5,5 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(neo_shared_tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/cpuinfo_tests_x86_64_linux.cpp)
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/cpuinfo_tests_x86_64_linux.cpp
|
endif()
|
||||||
)
|
|
||||||
endif()
|
|
|
@ -9,8 +9,8 @@
|
||||||
#include "shared/source/helpers/hw_helper.h"
|
#include "shared/source/helpers/hw_helper.h"
|
||||||
#include "shared/source/os_interface/device_factory.h"
|
#include "shared/source/os_interface/device_factory.h"
|
||||||
#include "shared/source/os_interface/hw_info_config.h"
|
#include "shared/source/os_interface/hw_info_config.h"
|
||||||
|
#include "shared/test/common/fixtures/preamble_fixture.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/unit_test/preamble/preamble_fixture.h"
|
|
||||||
|
|
||||||
using namespace NEO;
|
using namespace NEO;
|
||||||
|
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
#include "shared/source/helpers/hw_helper.h"
|
#include "shared/source/helpers/hw_helper.h"
|
||||||
#include "shared/source/os_interface/device_factory.h"
|
#include "shared/source/os_interface/device_factory.h"
|
||||||
#include "shared/source/os_interface/hw_info_config.h"
|
#include "shared/source/os_interface/hw_info_config.h"
|
||||||
|
#include "shared/test/common/fixtures/preamble_fixture.h"
|
||||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||||
#include "shared/test/unit_test/preamble/preamble_fixture.h"
|
|
||||||
|
|
||||||
using namespace NEO;
|
using namespace NEO;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue