Skip to content

Commit 87eb133

Browse files
cyyeverfacebook-github-bot
authored andcommitted
Link to CUDA::nvperf_host publicly (#1129)
Summary: An attempt to fix the Windows build failure in pytorch/pytorch#161370 (comment) Pull Request resolved: #1129 Reviewed By: anubhavchaturvedi, hsgadre Differential Revision: D80967726 Pulled By: sraikund16 fbshipit-source-id: fe86c9b4bd17cb08a918d223a9605eb36b5bad57
1 parent 7716cbc commit 87eb133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libkineto/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ if(NOT LIBKINETO_NOCUPTI)
251251
target_link_libraries(kineto_base PUBLIC CUDA::cupti CUDA::cudart CUDA::cuda_driver)
252252
endif()
253253
if(TARGET CUDA::nvperf_host)
254-
target_link_libraries(kineto_base PRIVATE CUDA::nvperf_host)
254+
target_link_libraries(kineto_base PUBLIC CUDA::nvperf_host)
255255
endif()
256256
if(DEFINED LIBKINETO_NOXPUPTI AND NOT LIBKINETO_NOXPUPTI)
257257
target_link_libraries(kineto "${XPU_xpupti_LIBRARY}")

0 commit comments

Comments
 (0)