mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Add Ult target for level_zero
Change-Id: I43cfd536fc14c3d632289a00e9d82c23176b32a3 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
3243b9d69d
commit
a748d7ccf5
20
target_unit_tests/CMakeLists.txt
Normal file
20
target_unit_tests/CMakeLists.txt
Normal file
@ -0,0 +1,20 @@
|
||||
#
|
||||
# Copyright (C) 2018-2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
set(BUILT_IN_KERNEL_DIR "${NEO_SOURCE_DIR}/shared/source/built_ins")
|
||||
set(PLATFORM_SPECIFIC_TEST_TARGETS_FOLDER ult_product_targets)
|
||||
|
||||
if(NOT TARGET run_unit_tests)
|
||||
add_custom_target(run_unit_tests ALL)
|
||||
set_target_properties(run_unit_tests PROPERTIES FOLDER ${PLATFORM_SPECIFIC_TEST_TARGETS_FOLDER})
|
||||
endif()
|
||||
|
||||
if(NOT TARGET unit_tests)
|
||||
add_custom_target(unit_tests ALL)
|
||||
set_target_properties(unit_tests PROPERTIES FOLDER ${PLATFORM_SPECIFIC_TEST_TARGETS_FOLDER})
|
||||
endif()
|
||||
|
||||
add_subdirectories()
|
9
target_unit_tests/gen11/CMakeLists.txt
Normal file
9
target_unit_tests/gen11/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_GEN11)
|
||||
add_subdirectories()
|
||||
endif()
|
10
target_unit_tests/gen11/ehl/CMakeLists.txt
Normal file
10
target_unit_tests/gen11/ehl/CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_EHL)
|
||||
set(unit_test_config "ehl/1/4/8")
|
||||
include(${NEO_SOURCE_DIR}/cmake/run_ult_target.cmake)
|
||||
endif()
|
11
target_unit_tests/gen11/icllp/CMakeLists.txt
Normal file
11
target_unit_tests/gen11/icllp/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_ICLLP)
|
||||
set(unit_test_config "icllp/1/8/8")
|
||||
set(appverified_allowed ${APPVERIFIER_ALLOWED})
|
||||
include(${NEO_SOURCE_DIR}/cmake/run_ult_target.cmake)
|
||||
endif()
|
10
target_unit_tests/gen11/lkf/CMakeLists.txt
Normal file
10
target_unit_tests/gen11/lkf/CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_LKF)
|
||||
set(unit_test_config "lkf/1/8/8")
|
||||
include(${NEO_SOURCE_DIR}/cmake/run_ult_target.cmake)
|
||||
endif()
|
9
target_unit_tests/gen12lp/CMakeLists.txt
Normal file
9
target_unit_tests/gen12lp/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_GEN12LP)
|
||||
add_subdirectories()
|
||||
endif()
|
11
target_unit_tests/gen12lp/tgllp/CMakeLists.txt
Normal file
11
target_unit_tests/gen12lp/tgllp/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_TGLLP)
|
||||
set(unit_test_config "tgllp/1/6/16")
|
||||
set(appverified_allowed ${APPVERIFIER_ALLOWED})
|
||||
include(${NEO_SOURCE_DIR}/cmake/run_ult_target.cmake)
|
||||
endif()
|
9
target_unit_tests/gen8/CMakeLists.txt
Normal file
9
target_unit_tests/gen8/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_GEN8)
|
||||
add_subdirectories()
|
||||
endif()
|
11
target_unit_tests/gen8/bdw/CMakeLists.txt
Normal file
11
target_unit_tests/gen8/bdw/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_BDW)
|
||||
set(unit_test_config "bdw/1/3/8")
|
||||
set(appverified_allowed ${APPVERIFIER_ALLOWED})
|
||||
include(${NEO_SOURCE_DIR}/cmake/run_ult_target.cmake)
|
||||
endif()
|
9
target_unit_tests/gen9/CMakeLists.txt
Normal file
9
target_unit_tests/gen9/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_GEN9)
|
||||
add_subdirectories()
|
||||
endif()
|
10
target_unit_tests/gen9/bxt/CMakeLists.txt
Normal file
10
target_unit_tests/gen9/bxt/CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_BXT)
|
||||
set(unit_test_config "bxt/1/3/6")
|
||||
include(${NEO_SOURCE_DIR}/cmake/run_ult_target.cmake)
|
||||
endif()
|
10
target_unit_tests/gen9/cfl/CMakeLists.txt
Normal file
10
target_unit_tests/gen9/cfl/CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_CFL)
|
||||
set(unit_test_config "cfl/1/3/6")
|
||||
include(${NEO_SOURCE_DIR}/cmake/run_ult_target.cmake)
|
||||
endif()
|
10
target_unit_tests/gen9/glk/CMakeLists.txt
Normal file
10
target_unit_tests/gen9/glk/CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_GLK)
|
||||
set(unit_test_config "glk/1/3/6")
|
||||
include(${NEO_SOURCE_DIR}/cmake/run_ult_target.cmake)
|
||||
endif()
|
10
target_unit_tests/gen9/kbl/CMakeLists.txt
Normal file
10
target_unit_tests/gen9/kbl/CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_KBL)
|
||||
set(unit_test_config "kbl/1/3/6")
|
||||
include(${NEO_SOURCE_DIR}/cmake/run_ult_target.cmake)
|
||||
endif()
|
11
target_unit_tests/gen9/skl/CMakeLists.txt
Normal file
11
target_unit_tests/gen9/skl/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_SKL)
|
||||
set(unit_test_config "skl/1/3/8")
|
||||
set(appverified_allowed ${APPVERIFIER_ALLOWED})
|
||||
include(${NEO_SOURCE_DIR}/cmake/run_ult_target.cmake)
|
||||
endif()
|
Reference in New Issue
Block a user