Add --hipcc_explicit_lib option
Tells hipcc not to add /opt/hip or -lhip_hcc to command-line (since it has already been done).
这个提交包含在:
1 父节点
a24361df6f
当前提交
eb33395045
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)
|
||||
|
||||
在新工单中引用
屏蔽一个用户