Require CUDA 7 for C++11 support
This commit is contained in:
parent
8ce15a28aa
commit
1bd27428bd
@ -10,7 +10,7 @@ list(APPEND CMAKE_CXX_FLAGS --std=c++11)
|
||||
|
||||
configure_file(common.h.in common.h)
|
||||
|
||||
find_package(CUDA QUIET)
|
||||
find_package(CUDA 7.0 QUIET)
|
||||
if (${CUDA_FOUND})
|
||||
cuda_add_executable(gpu-stream-cuda main.cpp CUDAStream.cu)
|
||||
target_compile_definitions(gpu-stream-cuda PUBLIC CUDA)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user