Add Ult target for level_zero

Change-Id: I43cfd536fc14c3d632289a00e9d82c23176b32a3
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2020-03-11 08:00:22 +01:00
committed by sys_ocldev
parent 3243b9d69d
commit a748d7ccf5
42 changed files with 861 additions and 67 deletions

View 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()

View File

@ -0,0 +1,9 @@
#
# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
if(TESTS_GEN11)
add_subdirectories()
endif()

View 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()

View 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()

View 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()

View File

@ -0,0 +1,9 @@
#
# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
if(TESTS_GEN12LP)
add_subdirectories()
endif()

View 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()

View File

@ -0,0 +1,9 @@
#
# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
if(TESTS_GEN8)
add_subdirectories()
endif()

View 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()

View File

@ -0,0 +1,9 @@
#
# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
if(TESTS_GEN9)
add_subdirectories()
endif()

View 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()

View 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()

View 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()

View 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()

View 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()