Skip to content

Commit

Permalink
Remove HIP compiler flags for Debug
Browse files Browse the repository at this point in the history
Flags -Og and -g (or both) cause test ek_fluctuations to fail.
  • Loading branch information
jngrad committed Mar 14, 2020
1 parent ce5dba8 commit d9a59b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmake/FindCUDACompilerHIP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ if(WARNINGS_ARE_ERRORS)
list(APPEND HIP_HCC_FLAGS "-Werror")
endif()

set(HIP_HIPCC_FLAGS_DEBUG "${HIP_HIPCC_FLAGS_DEBUG} -Og -g")
set(HIP_HIPCC_FLAGS_RELEASE "${HIP_HIPCC_FLAGS_RELEASE} -O3 -DNDEBUG")
set(HIP_HIPCC_FLAGS_MINSIZEREL "${HIP_HIPCC_FLAGS_MINSIZEREL} -O2 -DNDEBUG")
set(HIP_HIPCC_FLAGS_RELWITHDEBINFO "${HIP_HIPCC_FLAGS_RELWITHDEBINFO} -O2 -g -DNDEBUG")
Expand Down

0 comments on commit d9a59b3

Please sign in to comment.