Skip to content

Commit

Permalink
Add support for CUDA-GDB
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad committed Jun 26, 2023
1 parent 201abee commit 0dde046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindCUDACompilerNVCC.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ add_library(espresso::cuda_flags ALIAS espresso_cuda_flags)
target_compile_options(
espresso_cuda_flags
INTERFACE
$<$<CONFIG:Debug>:>
$<$<CONFIG:Debug>:-g -G>
$<$<CONFIG:Release>:-Xptxas=-O3 -Xcompiler=-O3 -DNDEBUG>
$<$<CONFIG:MinSizeRel>:-Xptxas=-O2 -Xcompiler=-Os -DNDEBUG>
$<$<CONFIG:RelWithDebInfo>:-Xptxas=-O2 -Xcompiler=-O2,-g -DNDEBUG>
Expand Down

0 comments on commit 0dde046

Please sign in to comment.