2017-12-21 07:45:38 +08:00
|
|
|
#
|
2021-05-17 02:51:16 +08:00
|
|
|
# Copyright (C) 2018-2021 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
#
|
2018-09-18 15:11:08 +08:00
|
|
|
# SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
set(IGDRCL_SRCS_tests_helpers
|
2020-08-19 18:18:18 +08:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
2021-05-14 01:46:01 +08:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/api_specific_config_ocl_tests.cpp
|
2020-08-19 18:18:18 +08:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/base_object_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/cl_helper_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/cmd_buffer_validator.h
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/cmd_buffer_validator_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/dispatch_info_builder_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/dispatch_info_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/get_info_status_mapper_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/gtest_helpers.h
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/hardware_commands_helper_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/hardware_commands_helper_tests.h
|
2020-08-27 14:55:09 +08:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/heap_assigner_ocl_tests.cpp
|
2020-08-19 18:18:18 +08:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/hw_helper_default_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/hw_helper_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/hw_helper_tests.h
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/kernel_filename_helper.h
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/kmd_notify_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/memory_management_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/memory_properties_helpers_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/mipmap_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/per_thread_data_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/queue_helpers_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/raii_hw_helper.h
|
2021-02-27 06:02:57 +08:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ray_tracing_helper_tests.cpp
|
2020-08-19 18:18:18 +08:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/sampler_helpers_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/task_information_tests.cpp
|
2021-06-02 03:35:06 +08:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/timestamp_packet_1_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/timestamp_packet_2_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/timestamp_packet_tests.h
|
2020-08-19 18:18:18 +08:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/transfer_properties_tests.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ult_limits.h
|
2021-05-13 21:27:50 +08:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/uint16_sse4_tests.cpp
|
2020-08-19 18:18:18 +08:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/validator_tests.cpp
|
2021-01-21 20:10:13 +08:00
|
|
|
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/aligned_memory_tests.cpp
|
|
|
|
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/debug_manager_state_restore.h
|
2021-04-13 20:00:07 +08:00
|
|
|
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/unit_test_helper.h
|
|
|
|
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/unit_test_helper.inl
|
2017-12-21 07:45:38 +08:00
|
|
|
)
|
2018-04-10 16:26:59 +08:00
|
|
|
|
2021-08-10 22:35:03 +08:00
|
|
|
if(TESTS_XEHP_PLUS)
|
|
|
|
list(APPEND IGDRCL_SRCS_tests_helpers
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/aub_helper_hw_tests_xehp_plus.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/engine_node_helper_tests_xehp_plus.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/hw_helper_tests_xehp_plus.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_preamble_xehp_plus.cpp
|
|
|
|
${NEO_SOURCE_DIR}/shared/test/common/helpers/unit_test_helper_xehp_plus.inl
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2019-10-07 19:20:48 +08:00
|
|
|
get_property(NEO_CORE_PREAMBLE_TESTS GLOBAL PROPERTY NEO_CORE_PREAMBLE_TESTS)
|
|
|
|
|
2019-06-16 18:45:28 +08:00
|
|
|
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_helpers})
|
2019-01-30 20:11:30 +08:00
|
|
|
add_subdirectories()
|