Skip to content
Snippets Groups Projects
Commit a5c9cb2f authored by Martin Bauer's avatar Martin Bauer
Browse files

CUDA debug flags

parent 427a8c68
No related merge requests found
......@@ -1090,6 +1090,11 @@ if ( WALBERLA_BUILD_WITH_CUDA )
list ( APPEND CUDA_NVCC_FLAGS "-std=c++14" )
endif ()
if(CMAKE_BUILD_TYPE MATCHES Debug)
list ( APPEND CUDA_NVCC_FLAGS "-g -G" )
endif()
# Bug with gcc5 and cuda7.5:
#list( APPEND CUDA_NVCC_FLAGS "-D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES -D__STRICT_ANSI__")
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment