diff options
author | Luke Iwanski <luke@codeplay.com> | 2016-09-19 12:44:13 +0100 |
---|---|---|
committer | Luke Iwanski <luke@codeplay.com> | 2016-09-19 12:44:13 +0100 |
commit | cb81975714a96ecb2faf33ca242feeee3543b1db (patch) | |
tree | febc8730a60a48572cb293696c170d7cb50a4728 /CMakeLists.txt | |
parent | 59bacfe5201b54a6303b79bb538671d04f91dbce (diff) |
Partial OpenCL support via SYCL compatible with ComputeCpp CE.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 76ec09ea0..812997a29 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -429,6 +429,13 @@ else() add_subdirectory(lapack EXCLUDE_FROM_ALL) endif() +# add SYCL +option(EIGEN_TEST_SYCL "Add Sycl support." OFF) +if(EIGEN_TEST_SYCL) + set (CMAKE_MODULE_PATH "${CMAKE_ROOT}/Modules" "cmake/Modules/" "${CMAKE_MODULE_PATH}") + include(FindComputeCpp) +endif() + add_subdirectory(unsupported) add_subdirectory(demos EXCLUDE_FROM_ALL) |