Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Florian Weik
waLBerla
Commits
a5c9cb2f
Commit
a5c9cb2f
authored
Nov 05, 2018
by
Martin Bauer
Browse files
CUDA debug flags
parent
427a8c68
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
a5c9cb2f
...
...
@@ -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__")
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment