Merge pull request #588 from Jorghi12/patch-10

Fixing a HIP bug that causes DEBUG symbols to be dropped.

[ROCm/hip commit: 56126838cc]
This commit is contained in:
Maneesh Gupta
2018-08-03 08:48:56 +05:30
committed by GitHub
+1 -1
View File
@@ -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()