From 7802a6bb1cc6477810dff0e83ec90af954784612 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 28 Jan 2016 09:35:37 +0100 Subject: [PATCH] Fix unit test filename. --- unsupported/test/CMakeLists.txt | 4 ++-- ...x11_tensor_reduction.cu => cxx11_tensor_reduction_cuda.cu} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename unsupported/test/{cxx11_tensor_reduction.cu => cxx11_tensor_reduction_cuda.cu} (100%) diff --git a/unsupported/test/CMakeLists.txt b/unsupported/test/CMakeLists.txt index d70bf2b88..d16c42656 100644 --- a/unsupported/test/CMakeLists.txt +++ b/unsupported/test/CMakeLists.txt @@ -152,7 +152,7 @@ if(EIGEN_TEST_CXX11) endif() # These tests needs nvcc -find_package(CUDA 7) +find_package(CUDA 7.0) if(CUDA_FOUND) set(CUDA_PROPAGATE_HOST_FLAGS OFF) if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") @@ -170,4 +170,4 @@ if(CUDA_FOUND) ei_add_test(cxx11_tensor_argmax_cuda) unset(EIGEN_ADD_TEST_FILENAME_EXTENSION) -endif(CUDA_FOUND) +endif() diff --git a/unsupported/test/cxx11_tensor_reduction.cu b/unsupported/test/cxx11_tensor_reduction_cuda.cu similarity index 100% rename from unsupported/test/cxx11_tensor_reduction.cu rename to unsupported/test/cxx11_tensor_reduction_cuda.cu