set hip::host and hip::device and remove some deprecated targets (#184)

This commit is contained in:
amdkila
2020-03-05 13:36:55 -07:00
zatwierdzone przez GitHub
rodzic 0976e47b06
commit b9fb0cd808
+2 -6
Wyświetl plik
@@ -174,12 +174,8 @@ if("${HIP_COMPILER}" MATCHES "hcc")
endif()
endif()
if(TARGET hip::device)
target_link_libraries(rccl PRIVATE hip::device)
target_link_libraries(rccl INTERFACE hip::host)
else()
target_link_libraries(rccl PUBLIC hip::hip_hcc ${hcc_LIBRARIES} numa)
endif()
target_link_libraries(rccl PRIVATE hip::device)
target_link_libraries(rccl INTERFACE hip::host)
#Setup librccl.so version
rocm_set_soversion(rccl "1.0")