Skip to content
Snippets Groups Projects
Commit 2601e6a4 authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Use correct Werror mode for nvcc

parent d5b6684a
No related branches found
No related tags found
1 merge request!9Gated spectrometer low channel numbers and saturated samples
......@@ -15,7 +15,7 @@ if(ENABLE_CUDA)
# Pass options to NVCC ( -ccbin /path --compiler-options -lfftw3f --compiler-options -lm --verbose)
list(APPEND CUDA_NVCC_FLAGS -DENABLE_CUDA --std c++${CMAKE_CXX_STANDARD} -Wno-deprecated-gpu-targets --ptxas-options=-v)
list(APPEND CUDA_NVCC_FLAGS_DEBUG --debug --generate-line-info -Xcompiler "-Wextra") # Do not use Xcompiler -Werror here as it prevents some kernels from execution
list(APPEND CUDA_NVCC_FLAGS_DEBUG --debug --generate-line-info -Xcompiler "-Wextra" --Werror all-warnings ) # Do not use Xcompiler -Werror here as it prevents some kernels from execution
#list(APPEND CUDA_NVCC_FLAGS_DEBUG --debug --device-debug -Xcompiler "-Wextra" -Xcompiler "-Werror")
list(APPEND CUDA_NVCC_FLAGS_PROFILE --generate-line-info)
string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment