Add --hipcc_explicit_lib option
Tells hipcc not to add /opt/hip or -lhip_hcc to command-line
(since it has already been done).
[ROCm/hip commit: eb33395045]
Ta zmiana jest zawarta w:
%! (template.HTML=
Ben Sander)złożyło 2016-03-24 11:53:33 -05:00
1 rodzic
22aba5c9c5
złożenie
19760d3390
2 plików zmienionych
+17
-32
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -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)
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika