[SYCL-2020] Add test to validate SYCL in Eigen core.

This commit is contained in:
Alejandro Acosta
2023-07-28 15:45:08 +00:00
committed by Rasmus Munk Larsen
parent d4ae542ed1
commit 24d15e086f
6 changed files with 511 additions and 107 deletions

View File

@@ -477,6 +477,14 @@ if (EIGEN_TEST_HIP)
endif()
endif()
if(EIGEN_TEST_SYCL)
set(EIGEN_SYCL ON)
include(SyclConfigureTesting)
ei_add_test(sycl_basic)
set(EIGEN_SYCL OFF)
endif()
cmake_dependent_option(EIGEN_TEST_BUILD_DOCUMENTATION "Test building the doxygen documentation" OFF "EIGEN_BUILD_DOC" OFF)
if(EIGEN_TEST_BUILD_DOCUMENTATION)
add_dependencies(buildtests doc)