Add DG2 unit test target

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-11-26 10:30:21 +00:00
committed by Compute-Runtime-Automation
parent a7e79d5349
commit 8bb085b332
3 changed files with 28 additions and 0 deletions

View File

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

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

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