Skip to content
Snippets Groups Projects
Commit e28a9e4d authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Skip another useless nvcc warning

parent df97b70e
No related branches found
No related tags found
No related merge requests found
...@@ -186,7 +186,7 @@ if( ${WITH_CUDA} ) ...@@ -186,7 +186,7 @@ if( ${WITH_CUDA} )
# disable false compiler warnings # disable false compiler warnings
# reference for the -Xcudafe --diag_suppress and --display_error_number flags: https://stackoverflow.com/a/54142937 # reference for the -Xcudafe --diag_suppress and --display_error_number flags: https://stackoverflow.com/a/54142937
# incomplete list of tokens: http://www.ssl.berkeley.edu/~jimm/grizzly_docs/SSL/opt/intel/cc/9.0/lib/locale/en_US/mcpcom.msg # incomplete list of tokens: http://www.ssl.berkeley.edu/~jimm/grizzly_docs/SSL/opt/intel/cc/9.0/lib/locale/en_US/mcpcom.msg
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} ; -Wno-deprecated-gpu-targets --expt-relaxed-constexpr --expt-extended-lambda -Xcudafe "\"--diag_suppress=code_is_unreachable --diag_suppress=implicit_return_from_non_void_function --diag_suppress=2906 --display_error_number\"") set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} ; -Wno-deprecated-gpu-targets --expt-relaxed-constexpr --expt-extended-lambda -Xcudafe "\"--diag_suppress=code_is_unreachable --diag_suppress=implicit_return_from_non_void_function --diag_suppress=2906 --diag_suppress=2913 --display_error_number\"")
set( ALL_CUDA_ARCHS -gencode arch=compute_20,code=sm_20 set( ALL_CUDA_ARCHS -gencode arch=compute_20,code=sm_20
-gencode arch=compute_30,code=sm_30 -gencode arch=compute_30,code=sm_30
-gencode arch=compute_32,code=sm_32 -gencode arch=compute_32,code=sm_32
......
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