diff options
author | 2016-01-28 15:36:34 -0800 | |
---|---|---|
committer | 2016-01-28 15:36:34 -0800 | |
commit | 7b3044d086f413fdaf65acd30fc3bc469d43ccc6 (patch) | |
tree | 1ae17c28c77e7b448c6a885f0dd25a36cf5faea9 /unsupported/test | |
parent | 12f8bd12a27a9359e0383aed3f44436c08ea3f92 (diff) |
Made sure to call nvcc with the relaxed-constexpr flag.
Diffstat (limited to 'unsupported/test')
-rw-r--r-- | unsupported/test/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/test/CMakeLists.txt b/unsupported/test/CMakeLists.txt index d16c42656..eed724bcf 100644 --- a/unsupported/test/CMakeLists.txt +++ b/unsupported/test/CMakeLists.txt @@ -158,7 +158,7 @@ if(CUDA_FOUND) if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") set(CUDA_NVCC_FLAGS "-ccbin /usr/bin/clang" CACHE STRING "nvcc flags" FORCE) endif() - set(CUDA_NVCC_FLAGS "-std=c++11 -arch compute_30") + set(CUDA_NVCC_FLAGS "-std=c++11 --relaxed-constexpr -arch compute_30") cuda_include_directories("${CMAKE_CURRENT_BINARY_DIR}" "${CUDA_TOOLKIT_ROOT_DIR}/include") set(EIGEN_ADD_TEST_FILENAME_EXTENSION "cu") |