mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

This commit adds debug zebin creation in OCL. - Added returning debug zebin in build/linking paths in OCL if corresponding device binary format was detected. - Refactored getZebinSegments() method - added common ctor for both L0/OCL paths Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
40 lines
1.6 KiB
CMake
40 lines
1.6 KiB
CMake
#
|
|
# Copyright (C) 2018-2022 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
set(IGDRCL_SRCS_tests_program
|
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
${CMAKE_CURRENT_SOURCE_DIR}/block_kernel_manager_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/kernel_data.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/kernel_data_OCL2_0.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/kernel_info_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/kernel_info_from_patchtokens_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/printf_handler_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/printf_helper_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/process_debug_data_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/process_elf_binary_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/process_spir_binary_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/program_data_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/program_from_binary.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/program_nonuniform.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/program_spec_constants_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/program_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/program_tests.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/program_with_block_kernels_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/program_with_kernel_debug_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/program_with_source.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/program_with_zebin.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/program_with_zebin.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/program_with_zebin_tests.cpp
|
|
)
|
|
|
|
get_property(NEO_CORE_SRCS_tests_program GLOBAL PROPERTY NEO_CORE_SRCS_tests_program)
|
|
list(APPEND IGDRCL_SRCS_tests_program
|
|
${NEO_CORE_SRCS_tests_program}
|
|
)
|
|
|
|
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_program})
|
|
add_subdirectories()
|