Skip to content

Commit 8bb085b

Browse files
Add DG2 unit test target
Signed-off-by: Bartosz Dunajski <[email protected]>
1 parent a7e79d5 commit 8bb085b

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# Copyright (C) 2021 Intel Corporation
3+
#
4+
# SPDX-License-Identifier: MIT
5+
#
6+
7+
if(TESTS_XE_HPG_CORE)
8+
add_subdirectories()
9+
endif()
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# Copyright (C) 2021 Intel Corporation
3+
#
4+
# SPDX-License-Identifier: MIT
5+
#
6+
7+
if(TESTS_DG2)
8+
include(${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}enable_dg2_testing.cmake)
9+
endif()
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#
2+
# Copyright (C) 2021 Intel Corporation
3+
#
4+
# SPDX-License-Identifier: MIT
5+
#
6+
7+
if(TESTS_DG2)
8+
set(unit_test_config "dg2/2/4/5/0") # non-zero values for unit tests
9+
include(${NEO_SOURCE_DIR}/cmake/run_ult_target.cmake)
10+
endif()

0 commit comments

Comments
 (0)