Merge pull request #588 from Jorghi12/patch-10

Fixing a HIP bug that causes DEBUG symbols to be dropped.
Tá an tiomantas seo le fáil i:
Maneesh Gupta údaraithe agus GitHub tiomanta 2018-08-03 08:48:56 +05:30
2 tuismitheoirí b485957858 25c780c89e
tiomantas ac18a3b701
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -380,7 +380,7 @@ endmacro()
###############################################################################
macro(HIP_PREPARE_TARGET_COMMANDS _target _format _generated_files _source_files)
set(_hip_flags "")
set(_hip_build_configuration "${CMAKE_BUILD_TYPE}")
string(TOUPPER _hip_build_configuration "${CMAKE_BUILD_TYPE}")
if(HIP_HOST_COMPILATION_CPP)
set(HIP_C_OR_CXX CXX)
else()