diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-09-30 08:22:10 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-09-30 08:22:10 -0700 |
commit | 422530946f437b6cfb73a09d3932bc0f3ac8af80 (patch) | |
tree | 65a64316c8262260cb79eca6b5a07db9e9be0df3 /unsupported/test/CMakeLists.txt | |
parent | dd602e62c80ede4e193ccb93e395645f0f28e54b (diff) |
Renamed the SYCL tests to follow the standard naming convention.
Diffstat (limited to 'unsupported/test/CMakeLists.txt')
-rw-r--r-- | unsupported/test/CMakeLists.txt | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/unsupported/test/CMakeLists.txt b/unsupported/test/CMakeLists.txt index 0d7ed1db2..113dd79c1 100644 --- a/unsupported/test/CMakeLists.txt +++ b/unsupported/test/CMakeLists.txt @@ -140,13 +140,6 @@ endif() endif() 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 # older compiler that don't support cxx11. set(CMAKE_CXX_STANDARD 11) @@ -254,3 +247,11 @@ if(CUDA_FOUND AND EIGEN_TEST_CUDA) unset(EIGEN_ADD_TEST_FILENAME_EXTENSION) 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)
\ No newline at end of file |