mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Partial OpenCL support via SYCL compatible with ComputeCpp CE.
This commit is contained in:
@@ -138,6 +138,13 @@ 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)
|
||||
|
||||
Reference in New Issue
Block a user