mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
Renamed the SYCL tests to follow the standard naming convention.
This commit is contained in:
parent
dd602e62c8
commit
422530946f
@ -140,13 +140,6 @@ endif()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(EIGEN_TEST_CXX11)
|
if(EIGEN_TEST_CXX11)
|
||||||
if(EIGEN_TEST_SYCL)
|
|
||||||
ei_add_test_sycl(cxx11_tensor_sycl "-std=c++11")
|
|
||||||
ei_add_test_sycl(cxx11_tensor_sycl_forced_eval "-std=c++11")
|
|
||||||
ei_add_test_sycl(cxx11_tensor_sycl_broadcast "-std=c++11")
|
|
||||||
ei_add_test_sycl(cxx11_tensor_sycl_device "-std=c++11")
|
|
||||||
endif(EIGEN_TEST_SYCL)
|
|
||||||
|
|
||||||
# It should be safe to always run these tests as there is some fallback code for
|
# It should be safe to always run these tests as there is some fallback code for
|
||||||
# older compiler that don't support cxx11.
|
# older compiler that don't support cxx11.
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
@ -254,3 +247,11 @@ if(CUDA_FOUND AND EIGEN_TEST_CUDA)
|
|||||||
|
|
||||||
unset(EIGEN_ADD_TEST_FILENAME_EXTENSION)
|
unset(EIGEN_ADD_TEST_FILENAME_EXTENSION)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
if(EIGEN_TEST_SYCL)
|
||||||
|
ei_add_test_sycl(cxx11_tensor_sycl "-std=c++11")
|
||||||
|
ei_add_test_sycl(cxx11_tensor_forced_eval_sycl "-std=c++11")
|
||||||
|
ei_add_test_sycl(cxx11_tensor_broadcast_sycl "-std=c++11")
|
||||||
|
ei_add_test_sycl(cxx11_tensor_device_sycl "-std=c++11")
|
||||||
|
endif(EIGEN_TEST_SYCL)
|
Loading…
Reference in New Issue
Block a user