diff --git a/target_unit_tests/xe_hpg_core/CMakeLists.txt b/target_unit_tests/xe_hpg_core/CMakeLists.txt new file mode 100644 index 0000000000..f3706896ae --- /dev/null +++ b/target_unit_tests/xe_hpg_core/CMakeLists.txt @@ -0,0 +1,9 @@ +# +# Copyright (C) 2021 Intel Corporation +# +# SPDX-License-Identifier: MIT +# + +if(TESTS_XE_HPG_CORE) + add_subdirectories() +endif() diff --git a/target_unit_tests/xe_hpg_core/dg2/CMakeLists.txt b/target_unit_tests/xe_hpg_core/dg2/CMakeLists.txt new file mode 100644 index 0000000000..f7371c2c2b --- /dev/null +++ b/target_unit_tests/xe_hpg_core/dg2/CMakeLists.txt @@ -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() diff --git a/target_unit_tests/xe_hpg_core/dg2/enable_dg2_testing.cmake b/target_unit_tests/xe_hpg_core/dg2/enable_dg2_testing.cmake new file mode 100644 index 0000000000..6e7b707072 --- /dev/null +++ b/target_unit_tests/xe_hpg_core/dg2/enable_dg2_testing.cmake @@ -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()