SWDEV-497529 - Link with hip::amdhip64 target in 15_static_library/device_functions
Modified target_link_libraries to link with the hip::amdhip64 target instead of directly linking to the amdhip64 library. This ensures that all sub-dependent libraries that are necessary for static build are included. Change-Id: Idf69477708172604ba9c349735d3230ae765923a
이 커밋은 다음에 포함됨:
@@ -61,7 +61,7 @@ else()
|
||||
target_link_libraries(test_device_static PRIVATE HipDevice)
|
||||
endif()
|
||||
|
||||
target_link_libraries(test_device_static PRIVATE -fgpu-rdc amdhip64 amd_comgr)
|
||||
target_link_libraries(test_device_static PRIVATE -fgpu-rdc hip::amdhip64 amd_comgr)
|
||||
|
||||
if(TARGET build_cookbook)
|
||||
add_dependencies(build_cookbook HipDevice test_device_static)
|
||||
|
||||
새 이슈에서 참조
사용자 차단