aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-03-18 12:17:37 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-03-18 12:17:37 -0700
commitbb0e73c1914c675755e8fab2a6db168b65a4de51 (patch)
treed65c32bb8c3e1cc61add5ba8e88480bf31807227 /cmake
parent2db4a048278db4e07eefa2ae9ad4ce7254c9faec (diff)
Gate all the CUDA tests under the EIGEN_TEST_NVCC option
Diffstat (limited to 'cmake')
-rw-r--r--cmake/EigenTesting.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake
index 5ca800cfe..c70ec2c24 100644
--- a/cmake/EigenTesting.cmake
+++ b/cmake/EigenTesting.cmake
@@ -309,6 +309,12 @@ macro(ei_testing_print_summary)
message(STATUS "C++11: OFF")
endif()
+ if(EIGEN_TEST_NVCC)
+ message(STATUS "CUDA: ON")
+ else()
+ message(STATUS "CUDA: OFF")
+ endif()
+
endif() # vectorization / alignment options
message(STATUS "\n${EIGEN_TESTING_SUMMARY}")