Skip to content

Commit

Permalink
changing link libraries to hip::device
Browse files Browse the repository at this point in the history
  • Loading branch information
ntrost57 committed Oct 31, 2018
1 parent 261c023 commit 1fc93e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ add_library(roc::rocsparse ALIAS rocsparse)

# Target link libraries
if(NOT HIP_PLATFORM STREQUAL "nvcc")
target_link_libraries(rocsparse PRIVATE hip::hip_hcc hip::hip_device hcc::hccshared)
target_link_libraries(rocsparse PRIVATE hip::device)
foreach(target ${AMDGPU_TARGETS})
target_link_libraries(rocsparse PRIVATE --amdgpu-target=${target})
endforeach()
Expand Down

0 comments on commit 1fc93e5

Please sign in to comment.