Add xe_hpg ocl unit tests

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-11-22 13:52:32 +00:00
committed by Compute-Runtime-Automation
parent f56773d166
commit 2d5eaf3cc1
37 changed files with 3396 additions and 0 deletions

View File

@@ -52,5 +52,18 @@ if(TESTS_XEHP_AND_LATER)
)
endif()
if(TESTS_DG2)
list(APPEND IGDRCL_SRCS_tests_command_stream
${CMAKE_CURRENT_SOURCE_DIR}/compute_mode_tests_dg2.cpp
)
endif()
if(TESTS_DG2_AND_LATER)
list(APPEND IGDRCL_SRCS_tests_command_stream
${CMAKE_CURRENT_SOURCE_DIR}/cache_flush_tests_dg2_and_later.cpp
${CMAKE_CURRENT_SOURCE_DIR}/command_stream_receiver_hw_tests_dg2_and_later.cpp
)
endif()
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_command_stream})
add_subdirectories()