mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 13:54:58 +08:00
Add DG2 unit test target
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a7e79d5349
commit
8bb085b332
9
target_unit_tests/xe_hpg_core/CMakeLists.txt
Normal file
9
target_unit_tests/xe_hpg_core/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2021 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_XE_HPG_CORE)
|
||||
add_subdirectories()
|
||||
endif()
|
||||
9
target_unit_tests/xe_hpg_core/dg2/CMakeLists.txt
Normal file
9
target_unit_tests/xe_hpg_core/dg2/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2021 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_DG2)
|
||||
include(${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}enable_dg2_testing.cmake)
|
||||
endif()
|
||||
10
target_unit_tests/xe_hpg_core/dg2/enable_dg2_testing.cmake
Normal file
10
target_unit_tests/xe_hpg_core/dg2/enable_dg2_testing.cmake
Normal file
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Copyright (C) 2021 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
if(TESTS_DG2)
|
||||
set(unit_test_config "dg2/2/4/5/0") # non-zero values for unit tests
|
||||
include(${NEO_SOURCE_DIR}/cmake/run_ult_target.cmake)
|
||||
endif()
|
||||
Reference in New Issue
Block a user