Add --hipcc_explicit_lib option

Tells hipcc not to add /opt/hip or -lhip_hcc to command-line
(since it has already been done).
이 커밋은 다음에 포함됨:
Ben Sander가 2016-03-24 11:53:33 -05:00를 커밋했습니다
1 부모 890ec4c45c
커밋 34976e357d
2 파일이 변경됨
+17 -32

검색과 일치하는 파일 없음

+2 -1
파일 보기
@@ -62,6 +62,8 @@ else()
endif()
set (HIPCC ${HIP_PATH}/bin/hipcc)
set (CMAKE_CXX_COMPILER ${HIPCC})
set (CMAKE_CXX_FLAGS --hipcc_explicit_lib)
add_library(test_common OBJECT test_common.cpp )
@@ -116,7 +118,6 @@ macro (make_test_matches exe match_string)
endmacro()
set (CMAKE_CXX_COMPILER ${HIPCC})
#make_hip_executable (hipAPIStreamEnable hipAPIStreamEnable.cpp)
#make_hip_executable (hipAPIStreamDisable hipAPIStreamDisable.cpp)